-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Frontend Setup | ||
|
||
``` bash | ||
# install dependencies | ||
npm install | ||
|
||
# build for development | ||
npm run build | ||
|
||
# run the project | ||
npm run start | ||
|
||
# run the test | ||
npm run test | ||
|
||
# run the test coverage | ||
npm run test-coverage | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Backend | ||
|
||
## DB | ||
|
||
PostgreSQL is the DB used in this project, to try the backend functionalities you have to create a local DB with the connection used in the `utils/knexfile.js` or if you want you can change that. | ||
|
||
## Setup | ||
|
||
``` bash | ||
# install dependencies | ||
npm install | ||
|
||
# run the project | ||
npm run start | ||
|
||
# run the migrations | ||
npm run knex migrate:latest | ||
``` | ||
|
||
## Calls the API | ||
|
||
If you want to try the API call you can run on the browser the following command: | ||
|
||
`http://localhost:3000/users` |