This project was created for GuideSmiths Code Challenge.
It contains a simple API and a app to show info from the API
Open a terminal and run these commands:
git clone git@github.com:uRuiz/GuideSmiths_Code_Challenge.git
cd GuideSmiths_Code_Challenge/api
npm install
npm start
The Express server starts on port 9000
Once you finish starting the API, run these commands from GuideSmiths_Code_Challenge/api folder:
cd ..
npm install
npm start
If you prefer to build and run the app with Docker run following commands:
docker build -t guidesmiths-front .
docker run -i -t -p 3000:3000 guidesmiths-front
In order to build the guidesmiths code challenge backend container run
docker build -t guidesmiths-api .
docker run -p 9000:9000 guidesmiths-api
In the project directory, you can run:
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.