All Projects → hexacta → project-structure-sample

hexacta / project-structure-sample

Licence: MIT license
Shows how to keep front end and back end separated

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Nginx
273 projects
CSS
56736 projects

Projects that are alternatives of or similar to project-structure-sample

Project-Template
A template for modern C++ projects with useful features for developing cross-platform products.
Stars: ✭ 44 (-51.65%)
Mutual labels:  structure, project
directory-structure
📦 Print a directory tree structure in your Python code.
Stars: ✭ 40 (-56.04%)
Mutual labels:  structure, folder
node-js-project-structure
No description or website provided.
Stars: ✭ 21 (-76.92%)
Mutual labels:  structure, project
Construct
A PHP project/micro-package generator for PDS compliant projects or micro-packages.
Stars: ✭ 257 (+182.42%)
Mutual labels:  structure, project
focus-single
Single repo demo project using GoFrame.
Stars: ✭ 26 (-71.43%)
Mutual labels:  structure, project
Proji
A powerful cross-platform CLI project templating tool.
Stars: ✭ 156 (+71.43%)
Mutual labels:  structure, project
Gigsib
📑Golang Is Good, Structure Is Bad
Stars: ✭ 18 (-80.22%)
Mutual labels:  structure
Books
📚 All programming languages books
Stars: ✭ 148 (+62.64%)
Mutual labels:  structure
Reclass.net
More than a ReClass port to the .NET platform.
Stars: ✭ 766 (+741.76%)
Mutual labels:  structure
Java design patterns
Java 实现的面向对象设计模式示例, 创建者、抽象工厂、工厂方法、原型、单例、适配器、桥接、组合、装饰器、备忘录、观察者、状态、策略、模板方法、访问者
Stars: ✭ 547 (+501.1%)
Mutual labels:  structure
Rmsd
Calculate Root-mean-square deviation (RMSD) of two molecules, using rotation, in xyz or pdb format
Stars: ✭ 215 (+136.26%)
Mutual labels:  structure
L5modular
Generates and handles Modules for Laravel
Stars: ✭ 188 (+106.59%)
Mutual labels:  structure
Dists
IQA: Deep Image Structure and Texture Similarity Metric
Stars: ✭ 101 (+10.99%)
Mutual labels:  structure
Unityprojecttreegenerator
This script will generate universal folder structure for your Unity3D project.
Stars: ✭ 12 (-86.81%)
Mutual labels:  structure
The Python Workshop
A New, Interactive Approach to Learning Python
Stars: ✭ 150 (+64.84%)
Mutual labels:  structure
Abstractionlayers
Abstraction Layers
Stars: ✭ 16 (-82.42%)
Mutual labels:  structure
Gopherlabs
Go - Beginners | Intermediate | Advanced
Stars: ✭ 205 (+125.27%)
Mutual labels:  structure
City Vein
Urban structure characterized by 🚌 public lines
Stars: ✭ 644 (+607.69%)
Mutual labels:  structure
Construct Js
🛠️A library for creating byte level data structures.
Stars: ✭ 984 (+981.32%)
Mutual labels:  structure
Jstarcraft Ai
目标是提供一个完整的Java机器学习(Machine Learning/ML)框架,作为人工智能在学术界与工业界的桥梁. 让相关领域的研发人员能够在各种软硬件环境/数据结构/算法/模型之间无缝切换. 涵盖了从数据处理到模型的训练与评估各个环节,支持硬件加速和并行计算,是最快最全的Java机器学习库.
Stars: ✭ 160 (+75.82%)
Mutual labels:  structure

Project Structure Sample

This repostory complements a medium post explaining a project structure focused on keeping back end and front end separated.

Getting Started

First thing you need to do is install dependencies:

$ npm install

Then you can run the SPA and the API in development mode (watching for changes) with:

$ npm start

And, if you have docker installed, you can dockerize it and run it with:

$ npm start:docker

web and api folders

Each folder has its own scripts you can run if you just want to work in one part of the app.

npm scripts

npm install

npm install will install the root folder (development) dependencies, and after that do the same with web dependencies and api dependencies.

npm start

npm start will run both subfolders' npm start in parallel using npm-run-all.

npm run build

npm run build will run both subfolders' npm run build in parallel.

npm run start:docker

npm run start:docker first call npm build then build, create and start two containers, one for node running the api, and the other running nginx serving the static SPA files and proxying all requests starting in /api/ to the node container.
After that it opens a browser on "http://localhost:8000/".

You can stop the containers with npm run stop:docker.

License

MIT © Hexacta

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].