Skip to content

CodeOne91/form-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

Project goal

How to start the project

Start project

Other way to start the project

Project goal

  • App must be developed in React (no version has been requested, the latest available will be used: 18.2.0)
  • App must be able to perform GET and POST requests on given endpoints;
  • App must provide a form in order to perform new user creation.

How to start the project

To start this project, you have to follow these steps:

Clone the repo

To clone the repo, open a shell and type:

git clone https://github.com/CodeOne91/form-app.git`

or

git clone git@github.com:CodeOne91/form-app.git

Go to project dir

cd form-app

Install dependencies

npm install

Set environment variable:

To make the project fully workable, you have to set environment variables doing the following:

  1. create a .env file in project root folder;
  2. put your authorization token taken from https://gorest.co.in/
$ echo REACT_APP_GOREST_AUTHORIZATION_TOKEN = "YOUR_TOKEN" >> .env

This set is important for use POST request.

Start project:

npm start

Other way to start project

Set .env file. ( Set environment variable)

If you want to have a plug&play environment, you can easily start the project using docker.

cd docker
docker-compose up

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors