https://github.com/devradheee/twn
Creating a comprehensive e-commerce platform, our full-stack solution revolves around the concept of offering affordable book rentals, enabling users to transform their existing collection into a lucrative side income stream. Give one 🌟 to the repo, if you liked the concept
https://github.com/devradheee/twn
expressjs javascript mongodb nodejs reactjs
Last synced: 5 months ago
JSON representation
Creating a comprehensive e-commerce platform, our full-stack solution revolves around the concept of offering affordable book rentals, enabling users to transform their existing collection into a lucrative side income stream. Give one 🌟 to the repo, if you liked the concept
- Host: GitHub
- URL: https://github.com/devradheee/twn
- Owner: devradheee
- Created: 2024-09-11T11:19:13.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T21:00:52.000Z (over 1 year ago)
- Last Synced: 2025-04-02T15:43:30.136Z (about 1 year ago)
- Topics: expressjs, javascript, mongodb, nodejs, reactjs
- Language: EJS
- Homepage: https://townofbooks.onrender.com/
- Size: 33.3 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Thanks for visiting my project
----
This is a fully functional full-stack E-commerce web project, which has a capacity of high scalability and security.
### main file is index.js models are availabe in models controllers are in avialable in controllers folders
----
# dotenv files contains
PORT : define your port
URI : mongodb connection string
Secret : email sent secret key you can choose anything
pass : your smtp password of your email
-----
```
.env file sample
PORT = 5000
URI=
Secret = "1234Devradheee"
pass=
CLOUDINARY_URL=<>
CLOUDINARY_KEY=
cloud_name=
secret=
```
## Set-Up for this project
step 1 : fork the repo and then clon in your local machine using the code
```bash
$ git clone https://github.com/devradheee/twn
```
step 2 : change the present working directory to twn using the code
```bash
$ cd twn
```
step 3 : now install the dependencies using the code
```bash
$ npm install
```
step 4 : create a .env file to store environment variables from above you can learn more about the environment variable
NOTE : ``` step 4 is important ```
step 5: run this project
```bash
$ npm start
```
congrats !! this project is ready to execute in your browser,
This project will run at``` https://localhost:${process.env.port}```
---------------------
##
Features of this project :
* EveryCode is arranged and well structured USING MVC file structure
* User login/register and verification through email
* auto email service for almost every activity
* Using session, created session for a user
* we are encoding for the passwords using bcyrpt
* encoding for saving image in mongodb usign base 64 encoding and decoding
* User update system
* perfect mongoose schema
* middleware authentication for where he is allowed to access and where not
* any user can be the vender for our product service
* beautiful and unique ui including log in page,sign up page and home page
--------------------------------------
# Work flow
* User can access everything, if he is logined
* Use can access, contact forma the login, signup page and team page only
* after login, he can access the whole project and also he can rent the book and add their book on rent.