Skip to content

noriskii/cotabox-fullstack-challenge-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COTABOX FULLSTACK CHALLENGE FRONTEND

Challenge Finished

What is this Front-End?

This project is part of an application called cotabox-fullstack-challenge, who is part of a practical test for a job opportunity. It works together with the api to perform actions over a MongoDB Database, using a web front-end.

How this integrates with the API?

This Front-End integrates with the API to retrieve and perform actions over the MongoDB database, this is an visual experience of the API, designed to be used by the clients.

Demo

A demo for this project is available on Vercel

https://cotabox-fullstack-challenge-frontend.vercel.app/

How can i contribute (or just test it)?

If you want to contribute, feel free to Clone this repository.

To start using it, yout need the API up and running on your computer/server (Follow this repo instructions). After this, follow these steps in the project directory:

In the src/services/api.js file, put your server IP and PORT of running API on baseURL: line, if you're not using an server and just running local, put 'http://localhost:3333' on baseURL: line, and save it.

Run yarn init or npm init

Run yarn start or npm start to start the server (The page will reload if you make edits.). For production server, use yarn build instead

Open http://localhost:3000 to view it in the browser.

What can i do here? What's the functionalities?

With the project opened on your browser, you can use these functionalities:

BUTTONS:

Add Contributor:

NOTE: You need to fill the form with the First Name, Last Name and Contribution of contributor.

With this button, you add a new participant to the table of contributors.

Remove Contributor:

NOTE: You need to fill the form with the First Name, Last Name of contributor.

With this button, you remove the participant of the table of contributors.

WIPE DATA:

NOTE: THIS BUTTON WILL WIPE ALL THE DATABASE DATA

With this button, you remove all participants of the table.

VIEWS:

TABLE:

The table will automatically update when you add or remove a participant, and shows the first name, last name, and % of participant contribution.

CHART:

The chart shows a pie with the portion of the contribution of each participant, updating automatically on change.

Technologies




Made with ❤️ ReactJS, and Styled Components by Lucas Augusto.

Releases

No releases published

Packages

No packages published