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

https://github.com/sonalys/poc-messenger-react


https://github.com/sonalys/poc-messenger-react

interview-test reactjs

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

## How to run

- First you need to get pipenv up and running to be able to run the server locally, there are plenty
of documentation online on how to do that depending on your operating system, but here is one:

https://pipenv-es.readthedocs.io/es/stable/#install-pipenv-today

- Next, you should install the server dependencies:

```
pipenv install
```

- Finally, you spin up the server with:

```
pipenv run python server.py
```

- Now install the dependencies of the react UI. You would need both NodeJS and NPM to be installed,
there is plenty of documentation on how to do that online. From inside the `interface` directory, run:

```
npm install
```

- You can run the UI temporary server with:

```
npm start
```

- There you go! Just open a browser and go to `https://localhost:3000`

## Running the tests

You can run the tests with:

```
pipenv run nosetests -v --with-coverage --cover-package=api_server --cover-erase --cover-branches
```