-
Clone this repository or fork it.
git clone https://github.com/thecreatorsir/DevelopersWeb.git
orgit clone https://github.com/<your username>/DevelopersWeb.git
-
Inside
DevelopersWeb
go to config folder, create a new file calledkeys_dev.js
which stores yourmongoURI
andsecretKey
information- store the database URI inside
mongoURI
variable - store your security key inside
secretKey
variable
- store the database URI inside
-
example:
module.exports = {
mongoURI:
"mongodb+srv://<name>:<password>@cluster0.diazc.mongodb.net/<collection>?retryWrites=true&w=majority",
secretKey: "key",
};
- install all dependencies.
- Client side:
on the
client
directory typenpm install
- Server side:
on the
DevelopersWeb
directory typenpm install
- Client side:
on the
- Run it on node js:
In the
DevelopersWeb
directory typenpm run dev
This app is developed using a MERN stack and it contains all the features that a social media platform has, like authentication, profile creation, updation, creating a post, and reacting on post etc.
-
ReactJS - for client-side rendering.
-
Redux - for global state management using flux architecture.
-
Bootstrap - for UI design.
-
Axios - for HTTP request and response.
-
Bcrypt - for creating a hashed password and making the app secure.
-
ExpressJS, NodeJS - for creating the web application and letting the user communicate.
-
JSON web token - every user of our API or website will be assigned a unique token, and this allows you to store the user state. And once the token expires the user will be automatically prompted to login.
-
MongoDB - for Data Base
Landing page - Register page - Login page - Dashboard page - Notifications Modal
Dashboard - Profile Page - Edit Profile page - Add education page - Add experience Page