diff --git a/README.md b/README.md index ea61422..cd08da6 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/src/server.ts b/src/server.ts index 860bb8d..f7e07a9 100644 --- a/src/server.ts +++ b/src/server.ts @@ -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);