Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aditya81070/pokedex

An app for pokemon lovers. You can find a list of pokemons and also add new pokemon.
https://github.com/aditya81070/pokedex

Last synced: about 1 month ago
JSON representation

An app for pokemon lovers. You can find a list of pokemons and also add new pokemon.

Awesome Lists containing this project

README

        

# Pokedex

This application helps you to find out the information about a pokemon. You can add more pokemons and also update the existing information about a pokemon.

## Prerequisites

- Node >= v10.19.0
- npm >= 6.13.4
- MongoDB

## Installation

1. Clone the repository
```bash
$ git clone https://github.com/aditya81070/pokedex.git
```
2. Change current working directory
```bash
$ cd pokedex
```
3. Import data in your local mongo database
```bash
# Please make sure that `mongod` is running locally with port :27017
$ mongoimport --db=pokdex --collection=pokemons --file=./db/pokedex.json
```
4. Install the dependencies
1. Client (front-end): Crate `.env` file in `client` folder and paste content from `.env.sample` in it.
```bash
$ cd client
$ cp .env.sample .env
$ yarn #if you don't have `yarn`, use `npm install`
# start client sever
$ yarn start #with npm use `npm start`
```
1. Server (back-end)
```bash
# In new terminal
# Change current working directly to `pokedex`
$ cd server
$ npm install
$ npm start
```
5. Open [local server](http://localhost:3000) in your favorite browser.