Skip to content

Commit

Permalink
refactor: change name reactdonis for reactnest
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-roque committed Jan 6, 2021
1 parent 455b0b1 commit 526d8e0
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 83 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@

## 💡 Introduction

🗼 A starter project template with (Ngnix, ReactJS, Redux, Redux Thunk, React Router, AdonisJS, PostgreSQL, Docker, PM2) + (Code Style, Conventional Changelog with Commitlint, Husky, Git CZ)
🗼 A starter project template with (Ngnix, ReactJS, Redux, Redux Thunk, React Router, NestJS, TypeORM, PostgreSQL, Docker, PM2) + (Code Style, Conventional Changelog with Commitlint, Husky, Git CZ)

### 🏃 Motivation

🇺🇸 **EUA**

You may not want to set up a project from scratch, so you decide to look for some base templete to design your system, without having to deal with many configurations. So maybe ReactDonis is a good alternative for you and your team. The motivation is to share a pre-modeled structure where you can start your project in a few minutes and modify it according to the needs of your project.
You may not want to set up a project from scratch, so you decide to look for some base templete to design your system, without having to deal with many configurations. So maybe Reactnest is a good alternative for you and your team. The motivation is to share a pre-modeled structure where you can start your project in a few minutes and modify it according to the needs of your project.

ReactDonis does not seek to be a silver bullet (only solution) for all projects, but rather to provide an initial model for the construction of projects.
Reactnest does not seek to be a silver bullet (only solution) for all projects, but rather to provide an initial model for the construction of projects.

🇧🇷 **PT-BR**

Talvez você não queira configurar um projeto do zero, então você resolve procurar algum templete base para projetar seu sistema, sem ter que lidar com muitas configurações. Então talvez o ReactDonis seja uma boa alternativa para você e seu time. A motivação está em compartilhar uma estrutura pré modelada onde você pode começar seu projeto em poucos minutos e modificar conforme as necessidades do seu projeto.
Talvez você não queira configurar um projeto do zero, então você resolve procurar algum templete base para projetar seu sistema, sem ter que lidar com muitas configurações. Então talvez o Reactnest seja uma boa alternativa para você e seu time. A motivação está em compartilhar uma estrutura pré modelada onde você pode começar seu projeto em poucos minutos e modificar conforme as necessidades do seu projeto.

O ReactDonis não procura ser uma bala de prata (única solução) para todos os projetos e sim prover um modelo inicial para a construção de projetos.
O Reactnest não procura ser uma bala de prata (única solução) para todos os projetos e sim prover um modelo inicial para a construção de projetos.

[🔝 back to top](#-summary)

Expand Down Expand Up @@ -278,15 +278,15 @@ Essa abordagem permite uma fácil busca e integração com buscadores sejam de s

🇺🇸

As well as frameworks like **Laravel**, **Rails** or **AdonisJS** itself have **Design Patterns** and architectural structures in common and well thought out. In this way **ReactDonis** seeks to bring a construction of a base structure so that you can develop your projects without having to decide many things (opinionated), but also not taking away its power of architectural changes, technologies and etc.
As well as frameworks like **Laravel**, **Rails** or **AdonisJS** itself have **Design Patterns** and architectural structures in common and well thought out. In this way **Reactnest** seeks to bring a construction of a base structure so that you can develop your projects without having to decide many things (opinionated), but also not taking away its power of architectural changes, technologies and etc.

That is, ReactDonis defines a guide for your project, but nothing will stop you from making your changes, feel free to contribute.
That is, Reactnest defines a guide for your project, but nothing will stop you from making your changes, feel free to contribute.

🇧🇷

Assim como frameworks como **Laravel**, **Rails** ou o próprio **AdonisJS** possuem **Design Patterns** e estruturas arquiteturais em comum e bem opnidas. Desta forma o **ReactDonis** procura trazer uma construção de uma estrurura base que você possa desenvolver seus projetos sem ter que dicidir muitas coisas (opinada), mas também não tirando seu poder de alterações arquiteturais, tecnologias e etc.
Assim como frameworks como **Laravel**, **Rails** ou o próprio **AdonisJS** possuem **Design Patterns** e estruturas arquiteturais em comum e bem opnidas. Desta forma o **Reactnest** procura trazer uma construção de uma estrurura base que você possa desenvolver seus projetos sem ter que dicidir muitas coisas (opinada), mas também não tirando seu poder de alterações arquiteturais, tecnologias e etc.

Isto é, o ReactDonis define um guia para o seu projeto, porém nada o impedirá de fazer suas modificações, fique a vontade para contribuir.
Isto é, o Reactnest define um guia para o seu projeto, porém nada o impedirá de fazer suas modificações, fique a vontade para contribuir.

**3. Based on Conventions and Styles Popular Guides | Baseado em Convenções e Styles Guides Populares**

Expand Down Expand Up @@ -539,7 +539,7 @@ import { Footer, AppBar } from 'layouts/default/components';
export function DefaultLayout(props: any) {
return (
<React.Fragment>
<AppBar title="REACTDONIS v.2" />
<AppBar title="REACTNEST V.3" />
<main>{props.children}</main>
<Footer />
</React.Fragment>
Expand Down
4 changes: 2 additions & 2 deletions api/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DB_SCHEMA="reactnest"
DB_LOG="false"
SSL_PATH=""

API_ORIGIN="ReactDonis V3"
API_ORIGIN="ReactNest V3"
API_PORT="8000"
API_URI_PREFIX="v3"
API_TITLE="ReactDonis V3"
API_TITLE="ReactNest V3"
2 changes: 1 addition & 1 deletion api/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ module.exports = {
'^config/(.*)$': '<rootDir>/src/config/$1.ts',
'^entity/(.*)$': '<rootDir>/src/entity/$1.ts',
},
modulePathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/docker/'],
modulePathIgnorePatterns: ['<rootDir>/dist/'],
};
4 changes: 2 additions & 2 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions api/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"name": "nest-app",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"name": "app-api",
"version": "1.0.0",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
Expand Down
Empty file added api/test/.gitkeep
Empty file.
24 changes: 0 additions & 24 deletions api/test/app.e2e-spec.ts

This file was deleted.

9 changes: 0 additions & 9 deletions api/test/jest-e2e.json

This file was deleted.

9 changes: 5 additions & 4 deletions docker-compose.prod.example
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ services:
build:
context: ./api
dockerfile: Dockerfile
working_dir: /api
container_name: app-api
volumes:
- ./api:/api
command: sh -c "npx pm2 start ecosystem.config.js --no-daemon"
ports:
- "8080:8080"
environment:
- DB_HOST=app-database
- DB_PORT=5432
- '8000:8000'
expose:
- '5432'
env_file: ./api/.env
depends_on:
- database-service
3 changes: 1 addition & 2 deletions entrypoint-prod.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
echo "************* [REACT-DONIS-STARTER] *************"
echo "************* [REACTNEST] *************"

echo "****** [CHANGELOG CONVENTION] ****** [CONFIGURING PROJECT] ******"
npm install
Expand All @@ -8,7 +8,6 @@ echo "****** [API DEPENDENCIES] ****** [CONFIGURING PROJECT] ******"

cd ./api
cp .env.example .env
npx adonis key:generate
npm install
cd ..

Expand Down
2 changes: 1 addition & 1 deletion web-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web-app",
"version": "1.0.0",
"private": true,
"private": "false",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.27",
"@fortawesome/free-brands-svg-icons": "^5.12.1",
Expand Down
8 changes: 4 additions & 4 deletions web-app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<meta name="theme-color" content="#00d8fe" />
<meta
name="description"
content="A starter project template with (Ngnix, ReactJS, Redux, Redux Thunk, React Router, AdonisJS, PostgreSQL, Docker, PM2) + (Code Style, Conventional Changelog with Commitlint, Husky, Git CZ)"
content="A starter project template with (Ngnix, ReactJS, Redux, Redux Thunk, React Router, NestJS, TypeORM, PostgreSQL, Docker, PM2) + (Code Style, Conventional Changelog with Commitlint, Husky, Git CZ)"
/>
<meta property="og:title" content="ReactDonis" />
<meta property="og:title" content="ReactNest" />
<meta
property="og:description"
content="A starter project template with (Ngnix, ReactJS, Redux, Redux Thunk, React Router, AdonisJS, PostgreSQL, Docker, PM2) + (Code Style, Conventional Changelog with Commitlint, Husky, Git CZ)."
content="A starter project template with (Ngnix, ReactJS, Redux, Redux Thunk, React Router, NestJS, TypeORM, PostgreSQL, Docker, PM2) + (Code Style, Conventional Changelog with Commitlint, Husky, Git CZ)"
/>
<meta
property="og:image"
Expand All @@ -21,7 +21,7 @@
<meta property="og:url" content="https://reactdonis.netlify.app/" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>ReactDonis - Templete Starter</title>
<title>ReactNestJs - Boilerplate</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
4 changes: 2 additions & 2 deletions web-app/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"short_name": "ReactDonis",
"short_name": "ReactNest",
"name": "A starter project template",
"icons": [
{
Expand All @@ -22,4 +22,4 @@
"display": "standalone",
"theme_color": "#00d8fe",
"background_color": "#ffffff"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function Copyright() {
<Typography variant="body2" color="textSecondary" align="center">
{'MIT LICENSE - '}
<Link color="inherit" href="https://github.com/gabriel-roque">
Reactdonis v.2 -
Reactnest v.3 -
</Link>{' '}
{new Date().getFullYear()}
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/layouts/default/default.layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function DefaultLayout(props: any) {
return (
<React.Fragment>
<CssBaseline />
<AppBar title="REACTDONIS v.2" />
<AppBar title="REACTNEST V.3" />
<main>{props.children}</main>
<Footer />
</React.Fragment>
Expand Down
14 changes: 0 additions & 14 deletions workspace.code-workspace

This file was deleted.

0 comments on commit 526d8e0

Please sign in to comment.