This is and API for linkr app, an social media for links share.
The following tools and frameworks were used in the construction of the project:
- You need PostgreSQL to run this app
-
Clone this repository
-
Install dependencies
npm install
-
Create a PostgreSQL database
-
On the linkr-backend folder, import the dump
sudo -u postgres psql DATABASE_NAME < dump.sql
-
Create an .env file following the .env.example variables
-
Run the back-end with
npm run start
-
Follow the isntructions to run the front-end on this link
-
You also can access the api in http://localhost:PORT (.env PORT)