- Download and install the latest version of node 16 for your operating system
- Install git:
- Authenticate your Github account with Git:
- Clone this repo using your command line
git https://github.com/cheaper-eater/backend.git
- Setup env variables
- navigate to the project directory you cloned
- in the root of the project, create a plain text file called
.env
- in the
.env
file you just created, add the following linesMONGO_URI=mongodb+srv://cheapereater:<password>@<mongo_domain> DOMAIN=<domain> DOORDASH_DEFAULT_AUTH_TOKEN=<token> DOORDASH_GUEST_EMAIL=<email> DOORDASH_GUEST_PASSWORD=<password> GRUBHUB_CLIENT_ID=<id> GRUBHUB_XPX_TOKEN=<token>
- the values for the env variables can be found the the Discord's credential's channel
- Build and run:
- in your command line, run
npm install
to install all of the project dependencies - run with
npm run start
- in your command line, run