-
Clone the repository
-
Check you have installed Node.js in your machine, nvm is recommended to manage the Node.js versions
- Check the official documentation for more information
- Once installed, run
nvm install
to install the Node.js version specified in the.nvmrc
file
-
Create a new
db.json
file in the ./server folder with the following structure:{ "articles": [], "orders": [] }
- On the terminal, open 2 tabs, one for the client and one for the server
- On the client tab, go to the ./client folder and run
npm install
to install the dependencies - On the server tab, go to the ./server folder and run
npm install
to install the dependencies - On the client tab, run
npm start
to start the client - On the server tab, run
npm start
to start the server - Open a browser and go to
http://localhost:3000
to view the app
You need to have installed docker in your machine, check the official documentation for more information
- On the terminal, go to the root folder and run
docker-compose build
to build the images You need to have installed docker in your machine, check the official documentation for more information - Run
docker-compose up
to start the containers - Open a browser and go to
http://localhost:3000
to view the app