Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/aditya81070/pokedex
- Owner: aditya81070
- Created: 2020-03-29T09:11:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:55:32.000Z (about 2 years ago)
- Last Synced: 2023-03-03T18:59:07.163Z (almost 2 years ago)
- Language: JavaScript
- Size: 683 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
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.