GithubHelp home page GithubHelp logo

comsysto / express-react-boxfuse-starter Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 0.0 70 KB

Express-Server Starter Template with HTTPS Server and React Application to use with Boxfuse.com

License: MIT License

JavaScript 87.55% SCSS 1.38% Pug 11.07%
boxfuse react express microservices-architecture

express-react-boxfuse-starter's Introduction

express-react-boxfuse-starter

Express-Server Starter Template with HTTPS Server and React Application to use with Boxfuse. See the BlogPost about Microservices with Boxfuse.


 

Quickstart

# CLONE
git clone https://github.com/comsysto/express-react-boxfuse-starter.git
cd express-react-boxfuse-starter

# Install Frontend + Server Dependencies
npm install

cd server
      # START APP INSTANCE
      boxfuse run -ports.https=10444 -live
## OR
      # START APP INSTANCE - with some env vars 
      boxfuse run -ports.https=10444 -live -envvars.BACKEND=dev

# BUILD JS+CSS BUNDLE AND WATCH FOR CHANGES
cd ../
npm run develop

Now go to https://localhost:10444 and accept the self signed certificate.

You should see something like this:


 

SSL Certificate

There is already one self signed certificate residing in ./server/ssl/. You should at best put a valid wildcard SSL Certificates to ./server/ssl/ see ./server/server.js on how to configure SSL.

How to generate self signed certificate:

cd express-react-boxfuse-starter/server/ssl
openssl req  -nodes -new -x509  -keyout app.key -out app.crt

# Country Name (2 letter code) [AU]:DE
# State or Province Name (full name) [Some-State]:DE
# Locality Name (eg, city) []:DE
# Organization Name (eg, company) [Internet Widgits Pty Ltd]:DE
# Organizational Unit Name (eg, section) []:DE
# Common Name (e.g. server FQDN or YOUR name) []:localhost
# Email Address []:[email protected]

 

License

MIT

express-react-boxfuse-starter's People

Contributors

offboarded-x233534 avatar

Watchers

 avatar  avatar  avatar  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.