A RESTful API providing endpoints for CRUD operations and user authentication, supporting the integration between the web and mobile applications.
- Clone the Repository
git clone https://github.com/sasankadeshapriya/order-processing-api-nodejs.git cd order-processing-api-nodejs
- Create
nodemon.json
File
In the root directory of the project, create a file called nodemon.json and add the following content. Replace the placeholder values with your actual values:{ "env": { "JWT_KEY": "I$^%6szhGUMLNv", "EMAIL_USER": "[email protected]", "EMAIL_PASS": "ss@~*9eR;", "PORT": 4000, "EMAIL_HOST": "mail.test.com", "EMAIL_PORT": 465, "DB_USERNAME": "root", "DB_PASSWORD": null, "DB_DATABASE": "order_processing_system", "DB_HOST": "127.0.0.1", "DB_DIALECT": "mysql" } }
- Install Dependencies
npm install
- Install Dependencies
npm install
- Run the Seeder
Add your admin details tocreate-admin
seeder, save it and run seeder.sequelize db:seed:all
- Verify the Setup
Open your browser and navigate tohttp://localhost:4000
. You should see a message indicating that the server is working!
git clone https://github.com/sasankadeshapriya/order-processing-backend-laravel.git
git clone https://github.com/sasankadeshapriya/order-processing-app-flutter.git