Skip to content

API for the Chicken Delivery Company's order processing system, bridging the mobile app and web admin dashboard for seamless data exchange.

Notifications You must be signed in to change notification settings

sasankadeshapriya/order-processing-api-nodejs

Repository files navigation

Order Processing API NodeJS

A RESTful API providing endpoints for CRUD operations and user authentication, supporting the integration between the web and mobile applications.

order-processing

How to Setup on local

  1. Clone the Repository
    git clone https://github.com/sasankadeshapriya/order-processing-api-nodejs.git
    cd order-processing-api-nodejs
    
    
  2. 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": "verification@test.com",
        	"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"
    	}
    }
    
  3. Install Dependencies
    npm install
    
  4. Install Dependencies
    npm install
    
  5. Run the Seeder
    Add your admin details to create-admin seeder, save it and run seeder.
    sequelize db:seed:all
    
  6. Verify the Setup
    Open your browser and navigate to http://localhost:4000. You should see a message indicating that the server is working!

Related Repositories

git clone https://github.com/sasankadeshapriya/order-processing-backend-laravel.git
git clone https://github.com/sasankadeshapriya/order-processing-app-flutter.git

About

API for the Chicken Delivery Company's order processing system, bridging the mobile app and web admin dashboard for seamless data exchange.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published