/beauty-company

Project requested by LetsCode, and developed in Angular

Primary LanguageJavaScript

BeautyCompany

This project was generated with Angular CLI version (12.1.1)
The application (web) will run on port 4200.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Building and Running app

To build and start the apps', run in your terminal: $ ng serve -o

Enabling api fake

As there is no database, to make the simulation we created a .json file to be able to store our information coming from the form and show it in the table

Preparing fake api, navigate $ cd app/src/backend

Run, which will create the dependencies $ npm init -y

To enable the fake api in development mode, you need to navigate to the backend folder $ cd app/src/backend

To enable the fake api in development mode, you need to run the system terminal: $ npm start

How to run the app

Navigate to the beauty company project folder

Run $ ng serve -o

Start the fake api in the steps above, run the command inside the bakcend directory $ npm start

Now you can access the app through http://localhost:4200.