This repo contains the source-code for the backend of the chowk app.
Refer to this link for the front-end code.
Here is a demo of the site.
- Install everything
$ npm install
- Lookup the
package.json
file for all the dependencies. - Add a
.dev.env
(when running in dev environment..env
will be required when running a production build) file at the project root. - It will have the following entries, depending on what is to be connected -
DB_TYPE=mysql DB_HOST=localhost DB_PORT=3306 DB_USERNAME=<YOUR_DB_USERNAME> DB_PASSWORD=<YOUR_DB_PASSWORD> DB_SCHEMA=<YOUR_DB_NAME>
- Run -
$ npm run dev
- This should start a local server.
- Every change will be instantly reflected, without a restart.
- Run -
$ npm run start-prod
- This should create a build directory, with the transpiled js files.
- Auto deployed on merging PRs into
develop
branch.
All the APIs are described here
- Writing Typescript with express -
- TypeORM
- Overnight-js
- Passport-js
- Keshav Chandrashekar- keshavchen
- Nithin Gangadharan - gnithin
- Tanmay Naik - tsnaik
- Viral Patel - patelviralb