https://github.com/almirjnr/e-commercenodejsbackend
https://github.com/almirjnr/e-commercenodejsbackend
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/almirjnr/e-commercenodejsbackend
- Owner: AlmirJNR
- Created: 2021-11-02T02:46:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-02T05:47:38.000Z (almost 4 years ago)
- Last Synced: 2025-01-20T05:37:43.746Z (9 months ago)
- Language: TypeScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **! IMPORTANT !**
It needs to have a PostgreSQL database open with the credentials in the code to everything work as intended, you can see the credentials at:```bash
src\services\DatabaseServise.ts
```
Feel free to modify it as you need it.
#
## To Build and Start E-commerce NodeJs BackEnd
Run the following command inside the **NodeJsBackend** folder.
```
npm start
```
This will initialize the api on the **localhost:8080**.
#
## To Test
Run the following command inside the **NodeJsBackend** folder.
```
npm test
```
This will test all api routes and exit uppon finished.