Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebukaodini/spacious
Spacious is an app (back-end and front-end) that manages planets and characters entities.
https://github.com/ebukaodini/spacious
apollographql chai docker graphql javascript knexjs koajs mocha node nodejs postgresql reactjs styled-components
Last synced: 29 days ago
JSON representation
Spacious is an app (back-end and front-end) that manages planets and characters entities.
- Host: GitHub
- URL: https://github.com/ebukaodini/spacious
- Owner: ebukaodini
- Created: 2022-03-31T12:55:07.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2022-04-05T16:44:46.000Z (over 2 years ago)
- Last Synced: 2024-10-14T01:22:21.550Z (2 months ago)
- Topics: apollographql, chai, docker, graphql, javascript, knexjs, koajs, mocha, node, nodejs, postgresql, reactjs, styled-components
- Language: JavaScript
- Homepage:
- Size: 542 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spacious App
![MIT License][license-shield]
## Table of Contents
- [Spacious App](#spacious-app)
- [Table of Contents](#table-of-contents)
- [About](#about)
- [Installation](#installation)
- [Tests](#tests)
- [Usage](#usage)---
## About
Spacious is an app (back-end and front-end) that manages planets and characters entities.
## Installation
You'll need an unzip application and [docker][dc]
1. Extract the downloaded file:
```bash
$ unzip spacious.zip && cd spacious
```2. Build Docker containers locally:
```bash
$ docker-compose up -d --build
```3. Run migrations & seed:
```bash
$ docker-compose exec server knex migrate:latest --env development
$ docker-compose exec server knex seed:run --env development
```## Tests
After you've spun up the container:
```bash
$ docker-compose exec server npm run test
```## Usage
After you've spun up the container:
```bash
$ docker-compose up -d
```Access the server with [`http:localhost:3000/graphql`][server]
Access the Database Administrator with [`http://localhost:5050`][admin]
Log into the Admin with:
- Email: `[email protected]`
- Password: `root`Add a server with:
- Name: `spacious-app`
- Host: `postgres`
- User: `root`
- Password: `1234567890`Access the Main Application with [`http://localhost:4000`][app]
[dc]: https://docs.docker.com/compose/
[app]: http://localhost:4000
[server]: http://localhost:3000/graphql
[admin]: http://localhost:5050
[license-shield]: https://img.shields.io/github/license/sophiabrandt/tdd-node-shows.svg?style=flat-square