Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/namandangi/got_battle

Game of Thrones Battle
https://github.com/namandangi/got_battle

full-stack gameofthrones got mongodb-atlas mongoose nodejs reactjs

Last synced: 6 days ago
JSON representation

Game of Thrones Battle

Awesome Lists containing this project

README

        

# GAME OF THRONES

A Game of Thrones Battle Simulator !

![](https://github.com/namandangi/GOT_BATTLE/blob/master/public/docs/landing.png)
![](https://github.com/namandangi/GOT_BATTLE/blob/master/public/docs/battleCount.jpg)
![](https://github.com/namandangi/GOT_BATTLE/blob/master/public/docs/battleList.jpg)
![](https://github.com/namandangi/GOT_BATTLE/blob/master/public/docs/battleInfo.jpg)
![](https://github.com/namandangi/GOT_BATTLE/blob/master/public/docs/battleResult.png)

## Technology Stack

1. MongoDB/MongoDBAtlas for database, Mongoose for ORM.
2. ExpressJS for server library.
3. Node.js for Environment.
4. React.js for client-end scripting.

## Build Instructions

#### 1. First the clone the repository locally by
```
git clone https://github.com/namandangi/GOT_BATTLE
```
#### 2. Install all server-end packages

In the root of the backend project using
```
npm install
```
#### 3. Run the backend server

In the root directory of the backend using
```
npm start
```
The server is up and running on ```https://localhost:4000 ```

#### 4. cd into the client-end directory by
```
cd webapp
```
#### 5. Install all client-end dependencies using
```
npm install
```
#### 6. Run the client server in the directory

```
\GOT_BATTLES\webapp
```
using the command
```
npm run start
```
Viola! The Web App is active and can be visited on ```http://localhost:3000```

## Contributing

1. Fork it (https://github.com/namandangi/GOT_BATTLE/fork)
2. Create your feature branch (```git checkout -b feature/fooBar```)
3. Commit your changes (```git commit -m 'Add some fooBar'```)
4. Push to the branch (```git push origin feature/fooBar```)
5. Create a new Pull Request