Skip to content

ElSierra/Quick-chop-api

Repository files navigation

🍰 FOOD-DELIVERY-API

📱 Frontend Repo

🚀 Starting the Food-Delivery API

To start the Food-Delivery API, you will need to follow these steps:

  1. Clone the repository to your local machine.

    git clone https://github.com/ElSierra/Quick-chop-api.git
  2. Install the dependencies using npm.

    cd Quick-chop-api
    npm install
    
  3. Set up the environmental variables in a .env file in the root directory of the project.

    DATABASE_URL=<your-mongodb-url>
    SECRET=<your-secret-key>
    PORT=<your-port-number>
    WEBSITE_URL=<your-website-url>
    EMAIL=<your-email>
    PASSWORD=<your-password>
    CLIENT_SECRET=<your-google-client-secret>
    CLIENT_ID=<your-google-client-id>
    REFRESH_TOKEN=<your-google-refresh-token>
    REDIS_HOST=<your-redis-host>
    REDIS_PASSWORD=<your-redis-password>
    SPACES_ENDPOINT=<your-aws-spaces-endpoint>
    SPACES_KEY=<your-aws-spaces-key>
    SPACES_SECRET=<your-aws-spaces-secret>
    SPACES_NAME=<your-aws-spaces-name>
    
  4. Start the server using npm

    prisma generate
    npm run start
    

About

Backend (Node.js) for a food-delivery app

Topics

Resources

Stars

Watchers

Forks

Languages