Skip to content

LeonardoBevilacqua/aws-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

Setup Client

Access the client folder and install the dependencies:

cd client
npm install

Start the frontend client:

npm start

Setup Database (Docker MySql)

Download the MySql container:

docker pull mysql

Create the container with password and database:

docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -e MYSQL_DATABASE=awschallenge -d mysql

Start, get logs and access the container (when needed):

docker start mysql # start
docker exec -it mysql bash # access
docker logs mysql # logs

Setup Server

Access the server folder and install the dependencies:

cd server
npm install

Start the backend client:

npm start