This is a student group project done as a first big assigment, in wich join all the technologies learned at SoyHenry bootcamp.
- Build a JavaScript App from scratch
- Afirm and conect all the learned concepts in the Carreer
- Learn and practice GIT workflow / team work
- Use scrum agile methodology
HTML, CSS, Javascript, React, React-Bootstrap, Redux
Node.js, Express, Passport, Json web token authentication, Nodemailer, Sequelize.
PostgreSQL
IMPORTANT: Necesary version of node and NPM
- Node: 12.18.3 or higher
- NPM: 6.14.16 or higher
The boilerPlate has two folders: api
and client
.
Inside api
you must have to create a file called: .env
that has the following form:
DB_USER=postgresuser
DB_PASSWORD=postgrespassword
DB_HOST=localhost
DB_KEY=keyword
TWIT_ID=10hJi7gdjODCavCqGJ08vfYCf
TWIT_SECRET=xgBMzGvj6TPt9Kmb8SxcuFP4WFhZLx3O4jgY7ySleENKhDNpMd
You have to replace postgresuser
and postgrespassword
with your own credentials to connect to postgres database. This file will be ignored by github, as it contains sensitive information (the credentials).
The DB_KEY is a random security keyword, you can change or keep it.
The TWIT_ID and TWIT_SECRET info is important to keep it.
- Go to your postgres database manager and create a new database called
development
, this is the name of the database to which we will connect.
- Open the project console
- Inside
api
folder, run the command line,npm install
- Inside
client
folder, run the command line,npm install
- Inside
- Open the project console
-
Inside
api
folder, run the command line,npm start
-
Inside
client
folder, run the command line,npm start
(go to http://localhost:3000/)
-
-
You can find in
api/index.js
conn.sync({ force: false })
, switch it between " true " ( if you want reset database in each loaded ) or " false "( if you dont want reset database in each loaded )
-
You can use a testing admin user with login credentials:
- username :
admin@cyberfitness.com
- password :
masterpass
- username :