You will need install all dependencies, for that, go to client directory and run:
npm install
After, go to server directory and run:
npm install
After doing this, you need to add your IP address to the mongoDB whitelist.
Create .env file and copy the following content to it
PORT=<PORT>
MONGO_URI=<MONGO_URI>
COOKIE_SECRET=<COOKIE_SECRET>
CLOUDINARY_URL=<CLOUDINARY_URL>
ps: Replace <environment variable>
with the actual data used in the application
To run this project in development mode, we will need to run two servers, the react one on /client
and keystone on /server
.
The command to run react is yarn start
or npm start
depending on which tool was used on installation, the react server will run on port 3000
by default.
Before running the keystone server, go to /server/updates/0.0.1-admin.js
and change the admin user as you want, this user will be the first created, but you will be able to create others and delete this one later.
To run keystoneJS server, use the command node index.js
, the server will run on whatever port is in the variale in the env file, you will find the admin interface in http://localhost:[PORT]/admin
They can be:
- master
- develop
- feature
- bugfix
- hotfix
Their names must follow this template: feature/branch-name
Must begin with the name of the branch you developed on, following the model: “Feature(name-of-feature): rest of commit…”.
Must be simple and show briefly what you just did.
Ex: git commit -m "Feature(banner-parallax): Added the parallax effect to the background"
- AirBnb javascript styleguide for CommonJS code style
- Eslint for real time error correcting
This should be the structure of the description when creating a PR
**What I Did:**
- Describe what you did
- Describe what you did
**How to Test:**
- Instruction for other people test your pull request
- Instruction for other people test your pull request
- Samuel Miranda - Project Manager - labprogsam
- Arthur Luis - Fullstack Developer - ArthurLuis
- Giovani Albuquerque - Fullstack Developer - Giovaniavs
- Eduardo Almeida - Designer - eduqz
Made with `markdown` and love by CITi