This is the front-end layer of a project to manage the information of workers in a company. The purpose is to implement a basic system that allow us to create, read, updated and delete information about employees.
Through the development of this project I use modern technologies and best practices to write code. The main idea is to apply my knowledge to make both frontend and backend layers and integrate them to delivery a great application that can be scalable an maintainable through time.
Before you start make sure you have running the API by default the URI is localhost:4000/graphql. See api employees-management-api
-
Clone repository
git clone [email protected]:rubbenpad/employees-management.git
-
Navigate into your new created directory
cd employees-management
-
Install dependencies
npm install
-
Start developing
npm run dev
-
Open the source code and makes the magic happen
-
You can view the source code of implemented tests
src/__test__/
-
Run the test script
npm run test
-
Know the application test coverage
npm run test -- --coverage
-
Run the build script
npm run build
-
Now you have a
dist
folder and to serve it you can try servenpm i -g serve
serve -s dist
-
Now visit the url provide by serve and you can view the app running.