chocolat-chaud-io / stator Goto Github PK
View Code? Open in Web Editor NEWStator, your go-to template for the perfect stack. ๐๐
License: MIT License
Stator, your go-to template for the perfect stack. ๐๐
License: MIT License
I was thinking maybe we could use Kubernetes, but one thing I don't like about it is the complexity which is often way too high for simple projects. Since this is a template project, make it as simple as possible with detailed instructions. We can use other tools if we see fit.
Currently, we need to read too many texts in order to get started. This is not acceptable as the goal of this project is to make the process stupid simple. An interactive CLI could be a great idea.
doctl apps create --spec .do/app.yaml
npm run api
to npm start api
and same thing for webappThis action allow auto-merge of pull requests when they are ready. Add the required configurations and implement it in stator.
package-lock.json
https://github.com/evanw/esbuild can dramatically speed up build time
Parallel execution can be enabled with the --parallel
flag
This will produce better documentation. The Webpack config from the API must be enhanced with the swagger plugin.
network_mode: host isn't compatible with OSX. Use alternatives such as Docker linking.
webapp
using NXtodo
application with CRUD operationsFollowing a conversation with nightowl_games from hacker news, I think this readme's section could be improved to fully grasp the intent of this project, what it actually is, and how it can be used.
General links currently to global, instead of general
Before getting started let's communicate what's the vision for this project.
Stator will be a highly opinionated tool to facilitate getting started with new projects by deciding for you what the perfect modern stack looks like.
It will be able to generate top level mono repository project as well as it's underlying packages such as web application, backend, database, etc.
This will be a CLI tool that can be installed globally or as development dependency from the npm package registry.
lerna
, prettier
, tslint
, readme with starting instructions
react
, redux (or other)
, bundler
, typescript
, test-framework (with code coverage)
, vscode config file
node
, typescript
, express (or other)
, hot-reload
, test-framework (with code coverage)
, vscode config file
mongodb
We will be using a templating system named mustache
ts-node
to run the files.console.xxx
with the logger implementationOrganize readme so it's easier to read. Experiment with different ideas to improve readability.
Implement server side caching with a tool like redis.
enforce-file-folder...
Instead of basing any affected changes from master, we should use github ${{ github.event.pull_request.base.sha }}
and ${{ github.event.pull_request.head.sha }}
as done like this open source action.
nx affected:build --base=${{ github.event.pull_request.base.sha }} --head=${{ github.event.pull_request.head.sha }}
Also, we should then remove the following command, as it becomes useless:
- name: Fetch latest changes
run: git fetch --no-tags --prune --depth=5 origin master
enforce-file-folder-naming-convention.js
on hookThis will help speed up the feedback loop for developers instead of having to wait for the CI to tell them.
Hey @yann510 !
Thank you so much for this amazing template. It's helped me learn so much about best practices for building a full stack app <3
Just had a quick question that I've been hitting my head on. What's your go-to for managing env variables in Stator? I tried cloning, running npm run gen-started
and deploying via Digital Ocean but hit an error about the database env variables not being defined (like database.HOSTNAME
).
Sorry if this is kind of a noob question ๐
Right now, the script raplaces all occurences of stator, but it should also be possible to pass the repository own/organization name, to remove, in this case, chocolat-chaud-io
The previous implementation did not work with decorators. To fix the issue, run npm install --dev import-sort-style-module
. You can choose styles from https://github.com/renke/import-sort/tree/master/packages
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.