This is a MEEN (MongoDB, Express.js, Ejs, Node.js)Designed a dynamic web for gym center with user-friendly system allowing users and trainers to effortlessly add and showcase their courses.
- Dynamic Loading: Only load more gigs after viewing of old gigs.
- Image Compression: compress image with accurate aspect ratio before stroing it database.
- Payment Gateway: Added razorpay payment gateway.
- Rating: Users rating.
- MongoDB with connect-mongo-session: MongoDB is used as the database, and connect-mongo-session is used for session management.
To run this app on your local machine, follow these steps:
-
Clone the repository: clone this repo by
https://github.com/deepaksuthar40128/gfgProject.git
-
Navigate to the project directory.
-
Install the dependencies for the server : run
npm i
-
Set up environment variables:
- Create a
.env
file in theserver
directory. - Add the necessary environment variables, such as database connection details,razorpay credentials, smtp email credentials.
-
Start the server: start server and client by
npm start
-
Open your browser and visit
http://localhost:5000
to see the app in action.
Contributions are welcome! If you have any ideas or improvements, please submit a pull request. For major changes, please open an issue first to discuss the changes.