Skip to content

jao45gg/linkrAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

220 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkrBack

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

About

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 !

Technologies

The following tools and frameworks were used in the construction of the project, you can find the full list on the package.json:

How to run

  1. Clone this repository
  2. Install dependencies
npm i
  1. 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
  1. Run the back-end with
npm start
  1. You can optionally run the project with auto reload after changes
npm run dev
  1. Finally send a request to http://localhost:YourBackEndPORT/SomeRouteImplemented and see it running !

About

This is the Front-end of Linkr full-stack web application ! It's responsive, and does have data persistence, fell free to use and abuse it !

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors