You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of this project is to learn React library, what is a component and how to handle it, the usage of the context to share the step and the user between the components. Each component was tested with Jest and React testing library.
30
35
31
-
The user has to compile the form in three steps, in each step there is the validation of the inputs value. At the end when the "Finish" button is clicked the user object is sent to the backend, in this case there is a fake call to an API.
36
+
The user has to compile the form in three steps, in each step there is the validation of the inputs value. At the end when the "Finish" button is clicked the user object is sent to the backend that give back a response.
32
37
33
38
## Features
34
39
40
+
### Frontend
41
+
35
42
* Languages and structure used to develop this project:
36
43
**JavaScript*
37
44
**SASS / PostCSS*
@@ -48,30 +55,22 @@ The user has to compile the form in three steps, in each step there is the valid
* Configured and ready to use **Webpack Dev Server** plugin for faster local development - [`webpack-dev-server`](https://webpack.js.org/configuration/dev-server/)
50
57
58
+
### Backend
59
+
60
+
* Latest [Express](http://expressjs.com/) - Web framework for Node.js
61
+
*[PostgreSQL](https://www.postgresql.org/) - A realational database
PostgreSQL is the DB used in this project, to try the backend functionalities you have to create a local DB with the connection used in the `utils/knexfile.js` or if you want you can change that.
6
+
7
+
## Setup
8
+
9
+
```bash
10
+
# install dependencies
11
+
npm install
12
+
13
+
# run the project
14
+
npm run start
15
+
16
+
# run the migrations
17
+
npm run knex migrate:latest
18
+
```
19
+
20
+
## Calls the API
21
+
22
+
If you want to try the API call you can run on the browser the following command:
0 commit comments