Skip to content

Commit

Permalink
docs: add running instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
caions committed Oct 4, 2023
1 parent f7e854c commit d186627
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@
This is the repository for the backend of the Habit Tracker application, a Node.js API for tracking daily habits.
This API was developed using Node.js and PostgreSQL as the database, and it follows the principles of Hexagon Architecture.

## 🚀 Instalation
## Instalation

To install the project dependencies, run the following command:

```
npm install
```

## 🚀 Running the application

```
npm start
```

The server will run on http://localhost:8000

Additionally, you need to create a PostgreSQL database named "habit-tracker" before starting the server.

## Available Routes
Expand Down
2 changes: 1 addition & 1 deletion habits-document.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "1.1.6",
"version": "1.1.7",
"title": "Habit Tracker API",
"description": "Api to manage habits"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "habit-tracker-backend",
"version": "1.1.6",
"version": "1.1.7",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d186627

Please sign in to comment.