Skip to content

Web page created using React.js, includes search functionality, auth functionality & dynamic routing.

Notifications You must be signed in to change notification settings

vujic02/DV-Hotels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DV Hotels

DV Hotels is a small project made by Vujke and DS360! The project features fully functional Log in & Register functionality & dynamic routes for each hotel.
Hope you like it :)

Backend repo

Design

Home Page

Home page

Authentication (Log in page)

Log In Page

Hotel Details (Dynamic route page)

Hotel Details page

Figma Design: DV-Hotels Design

Possible Improvements

The project is, at the moment, unfinished, but it is very close to initial plan's finish. Here are some of our the ideas for improvement:

  • Create loading functionality for each page that needs it.
  • Create functionality that allows the user to create a new hotel.
  • Create user's page to enable the user to see what hotels he/she added(could also add it through the navbar modal).
  • Build onto the Hotel Details page to enable user to actually reserve the viewed hotel and to finally checkout.

Getting Started

First, run the development server:

npm start
# or
yarn start

Open http://localhost:3000 with your browser to see the result.

Next step is to set up the backend. Clone the backend repo: Backend Repo.

In root folder of the backend repository folder, create a .env file in which a variable for MongoDB is needed to be added.

DATABASE_MONGODB = 

Next step is to actually create a MongoDB Cluster which I'm not going to explain how to do here. There is plenty of youtube tutorials on how to do it.

After the Cluster is created, create a collection and add the collection shell key to the .env variable. It should look something like:

DATABASE_MONGODB = mongodb+srv://<your_username>:<your_password>@cluster0.erpf0.mongodb.net/DatabaseName?retryWrites=true&w=majority

That's it! The project should be up & running completely.

About

Web page created using React.js, includes search functionality, auth functionality & dynamic routing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published