MongoDB, Expressjs, React/Redux, Nodejs
Frontend | Backend |
---|---|
react: ^18.2.0 | cors: ^2.8.5 |
react-dom: ^18.2.0 | dotenv: ^16.4.5 |
react-redux: ^9.1.0 | express: ^4.19.2 |
react-router-dom: ^6.22.3 | mongoose: ^8.3.0 |
redux: ^5.0.1 | nodemon: ^3.1.0 |
@reduxjs/toolkit: ^2.2.3 | |
antd: ^5.16.1 | |
axios: ^1.6.8 | |
three: ^0.163.0 |
server/
package.json
.env
client/
package.json
Clone repository:
git clone <this_repo>
Client-side (PORT:5173)
cd client
npm i
npm run dev
Server-side (PORT:5000)
cd server
npm i
nodemon server
Create a db in localhost or Atlas
Create .env and add the url:
mongodb_url = mongodb://localhost:27017/db_name
Alternatively, change the connection in dbConfig.js
mongoose.connect('mongodb://localhost:27017/mern_portfolio');
After refreshing the db, copy the data stored in client/staticData.js into the created entities
Login security
Contact form with backend
Frontend test
Backend test
Add inmersive experience
Responsive Design