Design of a social media application ! With the right to register, login, comment, like, post, search for users, filter by hashtags and more !
Try it out now here
Check out the frontend too here
This is the Back-end of Linkr full-stack web application ! It's responsive, and does have data persistence, fell free to use and abuse it !
Below are the implemented features:
- Sign Up
- Login
- LogOut
- Search for user by name
- Filter posts by hashtag
- Follow/Unfollow user
- Delete your post
- Edit your post
- Much more !
By using this app any user can share a link on the internet and comment about it !
The following tools and frameworks were used in the construction of the project, you can find the full list on the package.json:
- Clone this repository
- Install dependencies
npm i- Create a .env file on the root of the project with the following variables
ACCESS_TOKEN_SECRET=yourSecret
DATABASE_URL=yourDataBaseURL
PORT=YourBackEndPORT (optional, default is 5005)
MODE=prod (ONLY WHEN IN PRODUCTION)
REFRESH_TOKEN_SECRET=yourSecret- Run the back-end with
npm start- You can optionally run the project with auto reload after changes
npm run dev- Finally send a request to http://localhost:YourBackEndPORT/SomeRouteImplemented and see it running !
