A Node JS, Server Side Rendered, Secured web application.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
·
API Documentation
Trippers is a tours and travels website to travel to your dream location. It features tours packages, Available tours, Difficulty, Number of people, and more. Details are as follows:
Details:
- Homepage which shows available tours
- Users can post tours and travel packages
- Upload pictures, post comments
- Ratings
- User authentication using JWT
- Database secure and stored in MongoDB Atlas
- CRUD operations
- Beautiful Pug templates
There are more features which i'll be adding soon.
This is to setup the project locally on your computer
Get the latest version of node from the official node website
- npm
npm install npm@latest -g
- Clone the repository
git clone https://github.com/manuarora700/trippers-project.git
- Install NPM packages
npm install
- Create a file
config.js
in the root directory and fill in the following details ( Replace whatever is written in {{}} with your credentials)
NODE_ENV = development
PORT = 3000
DATABASE=mongodb+srv://{{YOUR_USERNAME}}:<PASSWORD>@cluster0-axx7z.mongodb.net/trippers?retryWrites=true&w=majority
DATABASE_PASSWORD={{YOUR_PASSWORD}}
JWT_SECRET={{ ANY RANDOM STRING }}
JWT_EXPIRES_IN=90d
EMAIL_USERNAME={{mailtrap_username}}
EMAIL_PASSWORD={{mailtrap_password}}
EMAIL_HOST=smtp.mailtrap.io
EMAIL_PORT=25
EMAIL_FROM = {{your_email}}
SENDGRID_USERNAME=apikey
SENDGRID_PASSWORD={{Sendgrid_password}}
STRIPE_SECRET_KEY={{sendgrid_secret_key}}
- For credit card payment on the checkout page, use the following credentials:
Card Number = 4242 4242 4242 4242 (4242 repeated)
Date: any_month/any_year
Cvv: Any 3 digit number
Name: Any name
On the terminal write npm run start:dev
and it should start.
For more examples, please refer to the Documentation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Your Name - @mannupaaji - manuarorawork@gmail.com
Project Link: https://github.com/manuarora700/trippers