📝 Blog project for the Bootcamp JavaScript in Backend and the Bootcamp of React (CodigoFacilito.com)
This is a merge of two final projects of bootcamps from Codigofacilito.com:
- the backend it's for Bootcamp de JavaScript en el Backend;
- the frontend it's for Bootcamp de React (G3);
- and some CI/CD will be added too.
The project is a Blog site, with posts, categories, users with roles as administrators, moderators and editors, and some other stuff that will be added in near future.
Rename the required file and complete the constants:
.env.development.sample
.env.production.sample
.env.testing.sample
to:
.env.development
.env.production
.env.testing
The default port is 3001. Facebook, Google and Twitter keys and secrets are requiered (I will add an enable option in each).
$ npm install
# development
$ npm --prefix backend/ run start
# watch mode
$ npm --prefix backend/ run start:dev
# production mode
$ npm --prefix backend/ run start:prod
# development
$ npm --prefix backend/ run start
# watch mode
$ npm --prefix backend/ run startw:dev
# production mode
$ npm --prefix backend/ run startw:prod
- Backend - Endpoints
- Swagger: Open http://localhost:3001/docs#/ to view it in the browser.
Rename the required file and complete the constants:
.env.development.sample
.env.production.sample
.env.testing.sample
to:
.env.development
.env.production
.env.testing
The default port is 3000.
$ npm install
# development
$ npm --prefix frontend/ run start:dev
# production mode
$ npm --prefix frontend/ run start:prod
# development
$ npm --prefix frontend/ run startw:dev
# production mode
$ npm --prefix frontend/ run startw:prod
Open http://localhost:3000 to view it in the browser.
If you have Docker installed on your system, in the root directory, run:
docker-compose up -d --build
This Blog is GPL-3.0-1 licensed.