Comments (6)
I'm unsure if incorporating a 'host service' as a default is feasible. As a potential user of the Spartan stack, I would like it more if it had a platform-agnostic approach.Maybe explain in the docs what I need to change to setup different providers and tell the user "this is where you configure your database and you can use every provider of your choice if you have x,y,z"
from spartan.
@lcatania I do think that's a very valid point! While that's the origin of the project I think a default vendor lock in is too much!
from spartan.
I dont know enough about Nx but a convenient way could be to have some 'providers' that the user could select when generating the project and the default is no provider. So the user can select Supabase, Railway, Turso or whatever preset is supported out of the box.
from spartan.
@goetzrobin do you want some help with this? :-) Are the points still valid or does anything changed?
from spartan.
Here is what I am thinking right now about how the flow should be:
- Create Nx workspace
- Configure AnalogJs with Tailwind
- Add spartan tRPC (not sure if this will be kept inside the Analog preset as the tRPC package was moved to spartan)
- Install Drizzle
- Add a .env file with the DB connection placeholder
- Add ng-signal-forms, ngxtension, @tanstack/angular-query-experimental
- Add a basic template that showcases the functionality (install whatever spartan/ui primitives are necessary)
Happy to discuss all of this! I feel like it would be cool to make things flexible by adding prompting as described by @lcatania, but this is what I consider an ideal first flow.
Let me know what you think about this @DominikPieper. I still owe you some more info on the tRPC integration and am also happy to discuss my reasoning behind each of ng-signal-forms, ngxtension, @tanstack/angular-query-experimental
from spartan.
@DominikPieper here is a good example of what I want the spartan stack to be like from the NextJs community: https://kirimase.dev
from spartan.
Related Issues (20)
- [nitro] [request error] [unhandled] [GET] "/trpc/note.list,note.list
- Error: Error: Cannot find module tslib ... code: 'ERR_MODULE_NOT_FOUND'
- (node:77788) [DEP0155] DeprecationWarning: Use of deprecated trailing slash pattern
- Dropdown does not lock page scroll HOT 6
- Select: Initial Value is not set when options are provided vie @for
- Adding the hlmMenuItem directive on dropdown separated in multiple components throw an exception HOT 1
- unable to install nx-workspace with presets HOT 2
- hlmSelect does not have an invalid state style HOT 9
- Module Not recognize HOT 2
- Select does not work with number 0 and ngModel
- Brn and Hlm Error Directive for Form Fields HOT 1
- feat(data-table): Column Resize HOT 2
- RFC: Copy and paste brn files aswell
- RFC: Add breadcrumb component
- bug: select doesn't recognize changes if the initial value and the first change is the same
- Include music UI example at examples page
- RFC: Add Filter functionality for Listbox component HOT 2
- feat(data-table): dynamic table
- Not installing in angular 17 HOT 1
- RFC: Expose outputs closed and opened for brnMenuTriggerFor directive HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spartan.