Skip to content

uRuiz/GuideSmiths_Code_Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuideSmiths Code Challenge

This project was created for GuideSmiths Code Challenge.

Content

It contains a simple API and a app to show info from the API

How to start 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

How to start the app

Once you finish starting the API, run these commands from GuideSmiths_Code_Challenge/api folder:

cd ..
npm install
npm start

Docker:How to build and run containers

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

Another Available Scripts

In the project directory, you can run:

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published