Skip to content

GSG-K3/urban-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Urban Nature Calendar Build Status

Urban Natural is a small furniture company with a showroom located in Bloomfield, New Jersey. They sell products made from the healthiest, safest, most durable materials available- free from harmful chemicals.

Heroku Link

Figma Link

Checkout the Design

Problem

As the lockdown and corona-virus begin to subside in New Jersey, Urban Natural Home Furniture is looking to re-open their showroom with half capacity, the main problem comes with controlling the:

  • Number of people allowed to be in the showroom at the same time
  • Number of hours allowed for each visit

Solution

build a calendar app where we can establish safe and easy contact with customers. So they can reserve an appointment with the manager to come to the showroom with some rules:

  • Maximum of 3 people for each visit.
  • Maximum hours for each visit is 2 hours.
  • Comply with the business safety rules.

User Journey

For Customers:

  • As a customer, I want to be able to see available appointment slots and book any available time to visit the showroom or have a virtual meeting and add this time to the calendar to remind me.

User Story

user story

Database schema

image

How to run the project?

  • Clone this repo to your local machine using terminal:
git clone https://github.com/GSG-K3/urban-calendar.git
  • run these commands in your terminal:
 $ cd urban-calendar
 $ npm i
 $ cd client
 $ npm i
 $ cd ..
  • create database locally:
$ psql
  CREATE DATABASE databasename;
  CREATE USER username;
  GRANT ALL PRIVILEGES ON DATABASE databasename TO username IDENTIFIED BY password;
  • create config.env file in root and put in it:
DATABASE_URL= postgres://username:password@localhost:5432/databasename
  • build database:
$ node server/database/dbBuild.js
  • to run website:
 $ npm run dev

Used technologies:

Front End:

Back End:

Working Group