Node.js back-end application that utilizes various techniques commonly used in back-end development. These include internationalization (i18), validation, JWT authentication, Sequelize ORM, SQLite3 database, logger, error handler, cross-env, middleware, project structure, relational model, response body, GitHub Actions, and database migration.
To install the project, follow these steps:
- Clone the repository to your local machine using
git clone https://github.com/yourusername/nodejs-backend.git
- Navigate to the project directory using
cd nodejs-backend
- Install the required dependencies using
npm install
- Start the application using
npm start
The back-end application exposes several endpoints for various operations. These include:
/articles
- GET, POST, DELELE PUT endpoints for managing articles/users
- GET, POST, DELELE PUT endpoints for managing users
The application utilizes i18 for internationalization, JWT for authentication, and Sequelize for managing the SQLite3 database. It also has middleware for handling errors and response body structure.
The back-end application has the following features:
- Internationalization (i18) support
- Validation for user input
- JWT authentication for user management
- Sequelize ORM for managing the SQLite3 database
- Logger for logging requests and responses
- Error handler middleware for handling errors
- Cross-env for environment variable management
- Project structure for easy maintenance
- Relational model for data storage
- Response body structure middleware for standardizing response format
- Github Actions for automated testing and deployment
- Database migration for easy database schema updates
The following technologies were used in the creation of this project:
- Node.js
- i18
- Validation
- JWT
- Sequelize ORM
- SQLite3
- Logger
- Error handler middleware
- Cross-env
- Middleware
- Project structure
- Relational model
- Response body structure middleware
- Github Actions
- Database migration
If you'd like to contribute to this project, please create a pull request with your changes. Be sure to include a detailed description of your changes and the problem they solve.
This project is licensed under the MIT License.