rrobilla / mern-v2 Goto Github PK
View Code? Open in Web Editor NEWA MERN stack app base
A MERN stack app base
MERN Application v2 -------------------------- This is a boilerplate for a MERN application running inside a docker container. -------------------------- How it works: There are 3 containers: client(React App), server(Node Express), db(MariaDB) The user makes connections on http://localhost:3000 and is served the REACT CLIENT. When a call is made to the api (eg. localhost:3000/list), the REACT CLIENT routes the request through REACT ROUTER via proxy to the EXPRESS SERVER (via server:5000). The EXPRESS SERVER makes the calls to the DATABASE to retrieve the data, then hands the data back to the REACT CLIENT to render. --------------------------- How to run the application: You have two ways of running this application base. You can create the two Dockerfiles into images located in the react and expapi folders. Edit the 'image' and 'environment DEBUG=' lines in both services to match the image names you chose, then run docker-compose up -d from the root folder to create and run the docker containers. You can clone the repo onto an environment running the required dependencies (Node, Express, React), edit the package.json in the client folder and change line 27 to this: "proxy": "http://localhost:5000 and run the startup.sh script. [WIP] Still working on implementing the database into the app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.