Giter Club home page Giter Club logo

itw-test-app's Introduction

itw-tests

Welcome to the Restaurant App, a demo/dummy web application which permits to the restaurant's customers to order food and developpers to show their skills ;)

The project is written in Ja

Prerequisit installation

  • Node.js (>= v14.16)
  • Yarn (v1.x)
  • Docker on your local machine. (version)

Backend

Code in /backend The main technologies used are: Node (v14), Nest.js (v7), Typescript (v4) and Postgres (v13.2). Mikro-ORM is used as an ORM.

Frontend

Code in /frontend The main technologies used are: React (v17), Next.js (v10), Typescript (v4) and Tailwind (v1).

Setup & Run

Backend

  1. Create and run database: docker-compose up -d
  2. Install backend dependencies: (cd backend && yarn install)
  3. Create database schema: (cd backend && yarn run migration:create)
  4. Migrate database schema: (cd backend && yarn run migration:up)
  5. Seed database with data: (cd backend && yarn run seeds:up)
  6. Start backend server: (cd backend && yarn run dev)

Frontend

  1. Install frontend dependencies: (cd frontend && yarn install)
  2. Start frontend server: (cd frontend && yarn run dev)

Ports

3000 Backend server
3001 Frontend server
5432 Postgres

API Specs

API specs with swagger are in localhost:3000/api

itw-test-app's People

Watchers

 avatar

Forkers

nikhilb2 bwin

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.