Coder Social home page Coder Social logo

trevorjamesmartin / something Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 1004 KB

Zen and the Art of Single Page Application Containment: Exodus - Building without Intrusive Gates.

Home Page: https://hub.docker.com/r/trevorjmartin/something-webbed

License: MIT License

Shell 3.91% JavaScript 91.36% Dockerfile 1.27% CSS 1.84% HTML 1.63%
nodejs docker react express

something's Introduction

something

something's running in the cloud.

run

with Docker installed, you can download & run the latest example container.

docker run -p 80:80 -e CONTAINER_PORT=80 trevorjmartin/something-webbed:latest

create a *docker-compose file to map volumes, ports, and environment variables. *example

developing...

on first run, you'll need to initialize the database & install dependencies.

npm run first-run

subsequently, to start (in development mode)

npm start

the project is structured to locally encapsulate a Full Stack application.

/something/api → backend (Express)

/something/client → frontend (React)

/something/package.json → "scripts"

to deploy each piece seperately, you'll need to adjust your CI accordingly

building,

everything builds inside the latest node:lts-alpine container.

the container is built from the Official Node JS image

docker-compose build

read more about docker-compose

to copy the new release-build from the container (without having to launch the app)

npm run copy-release

(without Docker)

to create an optimized production build of the client (during development)

npm run build

this custom-build script prepares the client to be served from the api

cleaning up

remove all "node_modules"

npm run clean

remove the sqlite3 db file

npm run remove-db

remove the "build" target folder

npm run remove-build

contribute

fork it and make something awesome!

something's People

Contributors

trevorjamesmartin avatar

Stargazers

Suzanne avatar

Watchers

 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.