Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,19 @@ Install dependencies with `npm install`, then start the server by running `npm r
## View it live

Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about.

# Project has been developed in three steps

## First stage

- API endpoints for creating, listing and liking thoughts to work with the existing Happy Thoughts App
- work with static data

## Second stage
- API uses Mongo DB for storing thoughts
- Data is now persistent

## Third stage
- Support for user authentication
- Post creation, edition and deletion now require authentication
- deployed on onRender: https://js-project-api-vj6h.onrender.com
121 changes: 0 additions & 121 deletions data.json

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@
"@babel/core": "^7.17.9",
"@babel/node": "^7.16.8",
"@babel/preset-env": "^7.16.11",
"bcryptjs": "^3.0.2",
"cors": "^2.8.5",
"dotenv": "^16.5.0",
"express": "^4.17.3",
"moment": "^2.30.1",
"mongoose": "^8.15.2",
"nodemon": "^3.0.1"
}
}
5 changes: 4 additions & 1 deletion pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Please include your Render link here.
Please include your Render link here.

Here you go:
https://js-project-api-vj6h.onrender.com
Loading