Time for Travel

An implementation of a full-stack web application for a users to view and save their favorite places around the world.

Implementation

This web application was built using the MVC (models-views-controllers) Architectural Pattern

implementing the following Tech Stacks:

For the Backend:

  • NodeJs & ExpressJs

For Database:

  • MongoDB Atlas

For the Frontend:

  • Embedded Javascript (EJS)

For Security:

  • Session-based Authentication
  • Password Hashing Using BCrypt

For Deployment:

Usage

1- Clone the Repository and get redirected to the application Folder

git clone https://github.com/omaarrwaell/Time-for-travel/
cd Time-for-travel

2- Create a new Project and a Cluster at MongoDB Atlas

3- Create a new Database inside the cluster and create a Collection inside the Database. This Collection will hold the users data.

4- Adding a .env file in the root application folder with the following content:

mongoURL = YOUR_MongoDBAtlas_Cluster_URL
database = YOUR_DATABASE_NAME
collection = YOUR_COLLECTION_NAME
secret = YOUR_SESSION_SECRET_STRING

replace the words after the '=' sign with your correct credentials

5- Install Required Dependencies

npm i

6- Run the Project

npm run dev

The Application will be available at localhost:3000

Contributors

@Abdelrahman Rewaished

@Mohamed Ashraf

@Omar Wael