2023-04-26 18:01:49 +00:00
|
|
|
# DropIt Example Project #
|
2023-04-24 18:25:01 +00:00
|
|
|
|
2023-04-26 18:07:38 +00:00
|
|
|
Delivery System.
|
|
|
|
|
|
|
|
## Dependencies ##
|
|
|
|
- Nodejs
|
|
|
|
- Typescript
|
|
|
|
- Express
|
|
|
|
- axios
|
|
|
|
- knex
|
|
|
|
- pg (not implemented yet)
|
|
|
|
- in-memory caching
|
|
|
|
- geoapify API Key
|
2023-04-24 18:25:01 +00:00
|
|
|
|
2023-04-26 18:01:49 +00:00
|
|
|
## Installation
|
2023-04-26 10:35:39 +00:00
|
|
|
|
2023-04-26 18:01:49 +00:00
|
|
|
### Git ###
|
|
|
|
clone the project and run `npm install` to install all the dependencies.
|
2023-04-26 10:35:39 +00:00
|
|
|
|
2023-04-26 18:01:49 +00:00
|
|
|
### typescript - ###
|
|
|
|
run `tsc` to compile the typescript files to javascript.
|
|
|
|
or
|
|
|
|
run `npm run build` to compile the typescript files to javascript.
|
2023-04-24 23:37:40 +00:00
|
|
|
|
2023-04-26 18:01:49 +00:00
|
|
|
### Server ###
|
|
|
|
run `npm run dev` to start the server in development mode.
|
2023-04-24 23:37:40 +00:00
|
|
|
|
2023-04-26 18:01:49 +00:00
|
|
|
### Database ###
|
|
|
|
run `npm run migrate` to create the database tables.
|
2023-04-26 18:07:38 +00:00
|
|
|
|