An open API service indexing awesome lists of open source software.

https://github.com/almirjnr/e-commercenodejsbackend


https://github.com/almirjnr/e-commercenodejsbackend

Last synced: 28 days ago
JSON representation

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.