Giter Club home page Giter Club logo

marvinxkiyingi / latenightbrunch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pegjac/restaurant

0.0 0.0 0.0 8.33 MB

This is a school assignment where we were assignt to create a resturant page with the ablility to create a reservation onto an database using react with typescript. And then be able to edit it trough an admin page. Trough every request the user gets an email confirmation of either a cancellation or confirmation of a reservation.

Home Page: https://late-night-brunch.netlify.app/

HTML 0.56% TypeScript 89.62% SCSS 9.82%
booking-platform resturant

latenightbrunch's Introduction

Late night brunch

This is a school assignment where we were assignt to create a resturant page with the ablility to create a reservation onto an database using react with typescript. And then be able to edit it trough an admin page. Trough every request the user gets an email confirmation of either a cancellation or confirmation of a reservation.

View Live page

https://late-night-brunch.netlify.app/

How to get started

  1. run git clone https://github.com/PegJac/Restaurant.git
  2. run npm intall to install node modules and all the npm packages we've chosen to use in this project.
  3. run npm start

File Structure

For this project we decided on this file structure.

Prettier

  • Is used to have the same compilation settings for the whole group, to minimize github hub conflicts

Assets

  • Is where we have all our images

Components

  • Houses all the parent components and child components in a seperate folder.

model

  • This is where we mould our models that can be used trough out the application.

Styles

  • Is where we have all our styling for the application, and uses the partials folder for reusable variables.

Svgs

  • This folder contains the the few svgs images we have.

Utils

  • Houses most of our function to keep a tidy code
project
│   README.md
│   .prettierrc.json
│
└───src
│   └───assets
│   └───components
│   │   └───ChildComponents
│   └───models
│   └───styles
│   │    └───Partials
│   └───svgs
│   └───utils
│   │
│   │   Firebase

Firebase/Firestore

  • This is where we inistiate our chosen database that we use throughout the whole application
  • We use firebase hooks to minimize the amount of backend code. Firebase hooks can handle state, update dynamically on database changes in real time.
  • Easy to use functions.

EmailJS

Running Tests

To run tests, run the following command

  npm run test

latenightbrunch's People

Contributors

marvinxkiyingi avatar dan7n avatar pegjac avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.