Drop Shopping Exam
Find a file
2023-04-26 21:01:49 +03:00
src replacing the example of migration file 2023-04-26 20:51:14 +03:00
.env.example add error catches 2023-04-25 02:37:40 +03:00
.gitignore first push - rest API with handlers attached to methods 2023-04-24 20:27:36 +03:00
knexfile.js add knexfile and first migration file for timeslots table 2023-04-25 22:45:47 +03:00
package-lock.json moved pg to dev depends 2023-04-26 20:53:43 +03:00
package.json README 2023-04-26 21:01:49 +03:00
README.md README 2023-04-26 21:01:49 +03:00
tsconfig.json importing the data json 2023-04-24 21:34:33 +03:00

DropIt Example Project

Delivery System using Nodejs [Typescript], Express, axios, knex, pg (not implemented yet), in-memory caching.

Installation

Git

clone the project and run npm install to install all the dependencies.

typescript -

run `tsc` to compile the typescript files to javascript.
or 
run `npm run build` to compile the typescript files to javascript.

Server

run npm run dev to start the server in development mode.

Database

run npm run migrate to create the database tables. run npm run seed to seed the database with some data.