Skip to content

eidan66/pokedex-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokedex Web Application

This repository contains the codebase for the Pokedex Web Application. The application uses a React frontend, a NestJS backend, Redis for caching, and PostgreSQL for the database.


Previews

homepage pokemon list pokemon details
Homepage Pokemon List Pokemon Details

Tech Stack

This project uses the following technologies:

React
React
TypeScript
TypeScript
Nest.js
Nest.Js
PostgreSQL
PostgreSQL
Redis
Redis
Docker
Docker

Setup Instructions

1. Clone the Repository

git clone https://github.com/eidan66/pokedex-web.git
cd pokedex-web

2. Create the .env File

Navigate to the backend directory and create a .env file with the following content:

(You can create JWT_SECRET when running this command inside the terminal)

node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
# JWT Secret
JWT_SECRET=your-super-duper-secret-jwt

# Database Configuration
DB_HOST=postgres
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_NAME=postgres

# Redis Configuration
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_TTL=300

3. Start the Application

Run the following command to start the application using Docker Compose:

docker-compose up --build

4. Access the Application


Stopping the Application

To stop the Docker containers, run:

docker-compose down

Contributing

Feel free to open issues or submit pull requests to improve this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published