updated README.md

master
Vic 2 years ago
parent 38a562e234
commit 5fff3dfd6c

@ -34,7 +34,7 @@ TOKEN_SECRET_TEST=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoxLCJma
- Install packages dependencies: `npm install`
- Run tests: `npm run test`
- Run the database: `npm run up`
- Launch the application: `npm run start`, you can acces the application with this link `127.0.0.1:3000`
- Launch the application: `npm run start`, you can acces the application with this link [link](127.0.0.1:3000)
Note : If needed you can reset the tables by closing the app and running the following commands:

@ -12,7 +12,7 @@ const port = 3000;
app.use(bodyParser.json());
app.get("/", function (req: Request, res: Response) {
res.send("Main API");
res.send("Welcome to Shelf backend api");
});
productRoutes(app);

Loading…
Cancel
Save