Skip to content

bongoslav/Social-media-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social media app

The app was built using:

  • Node.js w/ Express
  • TypeScript
  • MongoDB
  • React.js
  • HTML/CSS
  • Jest

I have used validation, server and client side authentication, error handling.

Running the app

  • Clone the repository
git clone https://github.com/bongoslav/Social-media-app.git
  • Install server dependencies and run project
cd <project_name>/api/
npm install
npm start
  • Install client dependencies and run project
cd <project_name>/frontend/
npm install
npm run dev

Client is running on port 5173 and server on port 3000.

There is a hidden .env file in /api/ . It contains jwt secret string as well as MongoDB connection string. To run locally you would need to setup the .env file with a correct mongo URL connection similar to this:

mongoURL = "mongodb+srv://<username>:<password>@social-media-app.tj1jh2n.mongodb.net/?retryWrites=true&w=majority";

App preview

Register preview

register page

Some triggered validation errors on login and register pages

password validation user already exists invalid email address

Home preview

home another home

No user preview

no user

Invalid url page

invalid url

About

Social media app built with MERN stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages