Renamed directories

This commit is contained in:
2023-09-22 16:56:57 -04:00
parent 02a4d840e0
commit 9cf92b8c1f
66 changed files with 11 additions and 28 deletions

9
.env.TEMPLATE Normal file
View File

@@ -0,0 +1,9 @@
RUST_LOG=debug,actix=warn,diesel_migrations=warn,reqwest=warn,hyper=warn
DATABASE_CONTAINER=weather-db
DATABASE_HOST=db
DATABASE_USER=
DATABASE_PASSWORD=
DATABASE_NAME=weather
DATABASE_PORT=5432
SERVICE_HOST=localhost
SERVICE_PORT=5000

View File

@@ -21,13 +21,7 @@ down: ## Stop Docker service containers
docker compose down
connect: ## Connect to the Weather DB
docker exec -it aviation_weather_db psql -U postgres
lint: ## Run the linter
npm run lint
clean: ## Clean up the service
rm -rf target
docker exec -it ${DATABASE_CONTAINER} psql -U postgres
clean-db: ## Remove database
docker exec -i ${DATABASE_CONTAINER} sh -c 'PGPASSWORD=${DATABASE_PASSWORD} psql -U ${DATABASE_USER} -d postgres -c "DROP DATABASE IF EXISTS \"${DATABASE_NAME}\";"'

View File

@@ -1,24 +1,4 @@
# Aviation Weather
# Getting Started
The main installed packages are the following:
- [Next.js](https://nextjs.org/docs)
- [ESLint](https://eslint.org/docs/latest/rules/)
- [Typescript](https://www.typescriptlang.org/docs/)
ESLint rules can be configured in the `.eslintrc.json` file.
Prettier rules can be configured in the `.prettierrc.json` file.
TypeScript rules can be configured in the `.tsconfig.json` file.
Next.js (React Framework)
- [Next.js Project Structure](https://nextjs.org/docs/getting-started/project-structure)
- [Next.js App Routing](https://nextjs.org/docs/app/building-your-application/routing)
- [Next.js Pages Routing](https://nextjs.org/docs/pages/building-your-application/routing)
Redux
- [Getting Started](https://redux.js.org/introduction/getting-started)
- [Code Structure](https://redux.js.org/faq/code-structure)
- [React Redux](https://redux.js.org/faq/react-redux)
## Makefile
`make help` to list all commands

View File

@@ -25,7 +25,7 @@ services:
ports:
- "${SERVICE_PORT}:${SERVICE_PORT}"
build:
context: ./
context: service
depends_on:
- db
restart: unless-stopped

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 696 B

After

Width:  |  Height:  |  Size: 696 B

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 618 B

After

Width:  |  Height:  |  Size: 618 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB