Setup Legacy

Install V1

⚠️

This version is a deprecated and a legacy version!

️🚫

Please don't use this version if you don't know what you are doing.

Clone the front-end and backend project

Copy the repository using the following command and directly go to the right directory:

git clone https://github.com/JoaoVitorFigueiredo/colareseditora.git && cd colareseditora

Install project dependencies

npm install

Start the development front-end server

npm start

Note: If any of the required ports are already in use, you can change them in the package.json file under the start script. For example:

"start": "PORT=4000 react-scripts start"

Install json-server module

This package and module need to be installed globally to work.

npm install -g json-server@0.17.4

Note: Ensure that you install version 0.17.4 as newer versions may not support certain functionalities.

Start the localhost JSON server and pack and go!

json-server --watch db.json --port 3030