Coder Social home page Coder Social logo

suzannertaylor / launch-library Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 170 KB

This application requires client and server to be running. It obtains data from the Launch Library api and displays information on upcoming launches.

HTML 7.37% JavaScript 70.09% CSS 8.53% Dockerfile 1.78% Python 12.24%

launch-library's Introduction

Upcoming Launch

This application requires client and server to be running. It obtains data from the Launch Library api and displays information on upcoming launches.

Requirements

docker node.js

Client

Contains react app which performs the client side rendering.

Rename sample.env to .env and make any needed changes. REACT_APP_API_PORT in the .env file is mapped to port 3001 if ths port is changed please change the server/docker-compose.yml file to make the port.

To start the client from project root

cd client

npm install

npm start

To stop the client Ctrl C

Server

Contains python api to obtain data from Launch Library and stored in redis cache.

Port 3001 is mapped to docker port 80. This port can be changed in the docker-compose.yml file. If this port is changed please change the REACT_APP_API_PORT in client/.env to the same port.

To start server from project root

cd server

docker-compose up

To stop the server Ctrl C

Use with great care

stop ALL docker containers docker stop $(docker ps -aq)

remove ALL docker containers docker rm $(docker ps -aq)

remove ALL docker images docker rmi $(docker images -q) -f

launch-library's People

Contributors

suzannertaylor avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.