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 !
- NodeJS
- Express
- EJS
- NPM
- PostgreSQL
- HTML
- CSS
- SQL join
- router
- SQL
Direct link : In the "About" section on the right
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
- Create
.env
following the.env.example
Installer...
-
Download installer :
-
CLI Ubuntu
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
npm i
Launch on Production mode
npm start
Included Packages :
- dotenv
- ejs
- express
- express-session
- nodemon
- pg
http://localhost:PORT