Coder Social home page Coder Social logo

salon's Introduction

Salon

how to run the project

  1. open a terminal to clone the repo
  2. git clone https://github.com/JohnGeorgiadis/salon.git
  3. cd into the project
  4. yarn or npm install
  5. yarn start or npm start

The project will then run on http://localhost:3000/

The api will then run on http://localhost:3000/api

how to run the tests

  1. On a new terminal instance run yarn cypress or npm run cypress
  2. A new window will appear, and you will be able to interact with the cypress gui.

inspect the code of the project

If you just want to inspect the code then you can use github1s https://github1s.com/JohnGeorgiadis/salon

live demo

https://salon-one.vercel.app/

assumptions

Assumptions:

  1. I am new to nextjs. I am sure that there is a better way to deal with local data and local API
  2. I think I should have used getStaticProps for a specific salon. I wanted to show my ability to use useEffect in react.
  3. I could have written more tests, but due to time constrain I just wrote the successful path.
  4. Maybe there is a better way to deal with assets. For now, I tried to download all the assets and put them in the public folder.

salon's People

Contributors

johngeorgiadis avatar

Watchers

 avatar  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.