Placebook🌍 🔗Live Link
Placebook is platform to share the places/locations. It is similar to various social-medias' feature of sharing information via post and in this user can share a place.
- Allow users to create accounts and log in securely.
- Display places-list, place details.
- Allow users to add places.
- MERN STACK
- MongoDB
- Express.js: 4.18.2
- React: 18.2.0
- Node.js: 18.17.0
- Project has 3 folders:
- a) Frontend - handles as name suggests UI part😊
- b) Server - all backend routes
-
Clone this repository to your local machine.
-
Navigate to the project directory.
-
Install frontend dependencies.
cd frontend npm install
-
Install backend dependencies.
cd backend npm install
-
Configure environment variables.
- Create a
.env
file in thebackend
&frontend
directory. - Add necessary environment variables (e.g., database URI, JWT secret, port-number).
- Create a
-
Start the server
cd backend npm start
-
Start the client.
cd frontend npm start
-
Open your browser and go to
http://localhost:3000
to use the app.
- Register or Log in to your account.
- Users can view the places added by them and other users.
- Users can perform CRUD operations over places API i.e. they can add places, update the place details and even delete the added place.