This code is for the AntiSocial MERN social media app. It allows users to create accounts, post updates, and interact with other users.
The app is built using the MERN stack (MongoDB, Express, React, Node.js) and includes features such as authentication, authorization, and real-time updates.
The code is organized into separate folders for the client and server, with each folder containing its own dependencies and configuration files.
- MongoDB
- Express
- React.js
- Node.js
- Vite
- Navigate to the root directory and run "npm install" to install the dependencies, then run "npm run dev" to start the development server.
npm start
in the root directory- More about concurrently: https://www.npmjs.com/package/concurrently
- Start with
npm run dev
in the clientside folder - Running on port 3000
- (I used 17.0.02 version of ReactJS)
- Start with
npx nodemon
in the server folder - Benefits of nodemon: automatically restarts the server when changes are made and catches errors immediately in terminal
- Running on port 3001
- Server is built with Node.js and Express