Skip to content

Ineslujan/Pokedex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokedex

This server side website is a pokedex. Do you know it ?

A pokedex, is a kind of dictionary contains all the Pokemons (small fictive and cute creatures). These Pokemons can fight and have statistics. Each Pokemon has one or two types like plant, rock, fire, etc...

The home page can be filtered with the menu "Types". List show all the Pokemons You can show the details of the Pokemon with its type and statistics

The website is entirely responsive. Try it !

Main technology & concept

  • NodeJS
  • Express
  • EJS
  • NPM
  • PostgreSQL
  • HTML
  • CSS
  • SQL join
  • router
  • SQL

How to see the project

Direct link : In the "About" section on the right

How to run

drawing PostgreSQL (or your favorite SGBD)

Installer... - Download installer : - https://www.postgresql.org/download/
  • Create database with postgreSQL
CREATE DATABASE <dbname> OWNER <user>;
  • Create tables and datas with the "pokedex.sql" in data folder
psql -U <user> -d <dbname> -f data/pokedex.sql

🗳 Environment variable

  • Create .env following the .env.example

drawing The project runs with Node.js

Installer...
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs

drawing Project dependancies installation

npm i

Launch on Production mode

npm start

Included Packages :

  • dotenv
  • ejs
  • express
  • express-session
  • nodemon
  • pg

👀 Enjoy the website

http://localhost:PORT