GithubHelp home page GithubHelp logo

lissone / pokedex Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 0.0 16.86 MB

An incredible Pokedex, to know more about the pokemon world.

Home Page: https://pokedex-lissone.vercel.app/

TypeScript 98.97% JavaScript 0.22% Dockerfile 0.81%
nodejs typescript nextjs styled-components firebase-auth firebase-database jwt-authentication swagger

pokedex's Introduction

Pokedex logo

Description   |    Requirements   |    Technologies   |    Layout   |    Usage   |    Demonstration


License Repo size Top lang Stars repo Forks repo Pull requests Last commit

Report bug · Request feature


Description

An incredible pokedex, for you to delve into the pokemon universe and even choose your favorite pokemons and add them to your profile!

Project developed in 5 days of a lot of effort and dedication, the first time I create an api with jwt authentication and web with user login by cookie. It was a big challenge for me, and for sure he will still have many releases.

For the development of this project, a flowchart was created as application documentation on Whimsical.

Requirements

Technologies

Backend (Api)

  • Nodejs
  • Typescript
  • Express
  • Firestore
  • Jwt authentication
  • Swagger
  • Eslint
    • Airbnb-config with another pessoal rules
    • Import helpers plugin
  • Prettier

Front End

  • NextJs
  • Typescript
  • StyledComponents
  • Firebase (Social authentication)
  • Nookies
  • Eslint
    • Airbnb-config with another pessoal rules
    • Import helpers plugin
  • Prettier
  • Commitizen

Layout

You can view the project layout via this link.

Usage

You can clone it on your pc using the command:

git clone https://github.com/Lissone/pokedex.git
cd pokedex

Need to add environment variables in both projects:

# .\packages\web\.env.local

# FIREBASE
NEXT_PUBLIC_API_KEY=
NEXT_PUBLIC_AUTH_DOMAIN=
NEXT_PUBLIC_DATABASE_URL=
NEXT_PUBLIC_PROJECT_ID=
NEXT_PUBLIC_STORAGE_BUCKET=
NEXT_PUBLIC_MESSAGING_SENDER_ID=
NEXT_PUBLIC_APP_ID=

# DEFAULT
NEXT_PUBLIC_BASE_URL_API=http://localhost:5000/api/v1
NEXT_PUBLIC_SECRET_KEY=supersecret
# .\packages\api\.env

# FIREBASE
API_KEY=
AUTH_DOMAIN=
PROJECT_ID=
STORAGE_BUCKET=
MESSAGING_SENDER_ID=
APP_ID=

# POKEAPI
BASE_URL_API=https://pokeapi.co/api/v2

# DEFAULT
PORT=5000
SECRET_KEY=supersecret

If you have Docker, and want to run the container, use the command:

# Build the project container
docker-compose build
# Up container
docker-compose up

Install dependencies using:

yarn
#or
npm install

Run api:

cd .\packages\api\
yarn dev
#or
npm run dev

Run web:

cd .\packages\web\
yarn dev
#or
npm run dev

Demonstration

Demo Pokedex

License

Distributed under the MIT License. See LICENSE for more information.

Made with ❤️ by Lissone


pokedex's People

Contributors

lissone avatar

Stargazers

Fernanda Mendonça avatar Samuel Silva De Carvalho avatar Lucas Santos avatar Vinicius Silva de Almeida avatar Matheus Almeida avatar  avatar Vitor Petri avatar Lucas S Andrade avatar Rafael Cristofali avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.