Skip to content

Given is the code for an Express server(NodeJS) that connects to an android application called Zing that allows university students to skip the queue and pre-order food from their favorite on-campus eateries.

Notifications You must be signed in to change notification settings

zingithq/server

Repository files navigation

Zing Server

TypeScript Nodejs MongoDB AWS

Table of Contents

Introduction

Time is important but, so is food. Welcome ZING! A mobile application that allows you to pre-order your food and skip the queue.

You can Check the landing page here

Installation

  • Clone the git repository using the below code snippet:
git clone https://github.com/zingithq/server
  • Change your current working directory to the project folder:
cd server
  • In the root of the project, make a new file .env to store the environment variables:
touch .env
vi .env
  • Copy the following content in the .env file and save it:
// These are example values, but works well with these.
PORT= 8080 
MONGO_URI= mongodb://localhost:27017/zingit
JWT_SECRET= blablasecrethello123
ENVIRONMENT= development
CRYPTO_KEY= 11111111111111111111111111111111
CRYPTO_IV= 1111111111111111
ORIGIN_EXPIRY_TIME= 300
  • Install the required dependencies and start the server in dev mode:
npm i && npm run dev

Note: You must have NodeJs, npm, mongodb installed in your system in order to run the project properly

Contribute

Any kind of contributions are welcome to this project. Go through the below mentioned steps to contribute.

  • Proceed by installing the project in your system. You can go through Installation for that.
  • Create an issue for the feature/fix you are planning on implementing.
  • To push the changes, create a new branch with the following scheme: GH Name/Feature Summary
  • Create a pull request with a proper commit heading and message. Add AdityaKG-169 as the reviewer.

Got any questions?

Reach out to me on email or linkedin.

About

Given is the code for an Express server(NodeJS) that connects to an android application called Zing that allows university students to skip the queue and pre-order food from their favorite on-campus eateries.

Topics

Resources

Stars

Watchers

Forks