cs2812 / Adode_Social_Media_App

Home Page:https://socialtalk-cs2812.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run backend on localhost

  1. backend > configs > db.js. in side db.js add you mongoDB atlas Database like.=> const connection = mongoose.connect("MONGO_URL");
  2. Run "npm i" inside backend command directoy (to install node module file)
  3. then run "npm start" to run server on localhost:8080

Backend depolyed link

Link :- https://adobe-server-w5qn.onrender.com/

  1. Or you can use Deployed link and replace this like with base URL in Frontend

How to run Frontend on localhost.

  1. if you are using deployed link, so you need to change base url to deployed link. to change link go to client > src > Redux > App > AppAction.js. inside AppAction.js file change URL with deployed like or Localhost link to connect with server.
  2. After replace URL with your link you need to run 2 command in terminal and client directory.
  3. npm i. (to install node module file)
  4. npm start. (to run project on localhost)

Frontend deployed link

  1. or you can check my project perfomance with deployed link :- https://socialtalk-cs2812.vercel.app/

How to test Api

  1. To test Api you need to go backend directory and run command in triminal.
  2. npm i (to install node module file)
  3. npm run test (to run test)

About

https://socialtalk-cs2812.vercel.app/


Languages

Language:JavaScript 94.8%Language:HTML 4.2%Language:CSS 1.0%