Code Monkey home page Code Monkey logo

fieryrestaurant's Introduction

About the project

Restaurants Project created in Angular 6, for this project we simulated a backend using express, initializing a json file containing the fictitious data of the project.

Note:

This project is under development.

To initialize the project, clone the repository:

git clone https://github.com/luisconcha/restaurant_ag6.git

Booting the backend server

To upload the api server, at the root of the project run
    cd name_project
    
    nodemon --watch backend --exec "ts-node" backend/dist/server.js
    
    Note: nodemon must be globally installed
If you need to change the db.json file (as long as your development IDE does not run tsconfig, json automatically), go to the backend directory and do the following:

tsc -w

if ports 4200 or 3001 are busy
    sudo netstat -anp | grep ":4200"  || sudo kill -9 `sudo lsof -t -i:4200`
    kill -9 port
    ps -xa | grep node 

Initializing the frontEnd server

    cd name_project
    
    ng serve

Application build

- To generate with the development settings (does the buld with .map files):
    ng build
- To generate build for production (DO NOT build with .map files) :
    ng build --prod
- To generate build for production on shared server (the slash in the end is important)
    ng build --prod --bh=/nome_pasta/

Simulate an application server (hSimpleHTTPServer must be installed)

- cd dist
    python -m SimpleHTTPServer 8000 

//////

Access data example

   email: [email protected]
   password: 123456
   
   email: [email protected]
   password: 123456 
   
    email: [email protected]
    password: 123456 

screenshots

3_inicial 4_list 4_detail 6_order 5_chets 2_postmant_orders 1_login_postman

Credits

Template link used for the project http://www.templatemonster.com/

fieryrestaurant's People

Contributors

abhianshu2020 avatar navya-2020 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.