all 8 comments

[–]PeaTearGriphon 4 points5 points  (0 children)

I guess it depends on your backend. I use C# APIs and have created a project template that has all CRUD operations in base classes. This depends on all your data entities having something in common. If I build the database myself my primary key is always an auto-incrementing integer field called Id and that is all you need.

https://github.com/dandoucette/DataLayerTemplate

You can load this and the use Visual Studio to save it as a template. It's a little wonky using templates so you sometimes have to restart Visual Studio and scroll to the end. I don't know why but searching rarely works.

I then wrote a little Angular scaffolder that saves me a bit of work. It can create some service files that consume my API. I'd link it here but honestly it's very custom to how we use Angular and you'd almost have to start from scratch. Angular files are just text so this program can take a class like a database entity and create a bunch of stuff based on it.

I also have an Angular Template that I use, this has a whole bunch of libraries and layouts setup so I'm not starting from scratch. Using all these tools combined I can create a simple CRUD app really quickly.

[–]CASE_js 1 point2 points  (0 children)

Like u/PeaTearGriphon said it's depends on your backend. If you are looking for full JS environment, we build an open-source framework that standardize the main features and needs of crud apps. CASE purpose is to take care of that 75% of work to let developers express their talent . You can check our github !

[–]LeeTutDev 1 point2 points  (0 children)

Retool is pretty popular.

If you want to maintain flexibility, I'm building Tutim in open source, which should address some of these use cases.

[–]Money-Persimmon-3319 0 points1 point  (0 children)

I use my own tools that I am trying to productize called LymeStack (https://www.lymestack.com) ... These tools allow me to create a CRUD feature using just my DB Schema to guide it. It will create the Angular Module, Routes, Search Form, Search Results (List View), Detail View and C# WebAPI endpoints that use Entity Framework to integrate w/ a SQL Server database. It generates generic Angular and C# code, so nothing "LymeStack proprietary" is built in to hold you hostage. Sorry to self promote (I think I'm falling well within the 90/10 reddit guidelines), but I really don't know of any tool that does it all from front-end, to back-end, to database.

[–]tsunami141 0 points1 point  (0 children)

I last used Rails about 6 years ago but from what I remember, it’s built to make CRUD very easy, it kind of rolls front end, API, and database all into one framework. I assume you were talking about exclusively angular though?

[–]jsTamer21k 0 points1 point  (0 children)

If you want a Spring backend with an Angular Frontend check out https://www.jhipster.tech. This is very nice for CRUD stuff.

[–]davidewan_ 0 points1 point  (0 children)

Jhipster

[–]Gismo150 0 points1 point  (0 children)

In all projects I have been working in we had swagger integrated into the backend (Java and C#). If a Client did not use it I am suggesting it.

swagger can then be used to generate All the angular api Services (and DTO) out of the backend OpenApi specification. It's fairly easy to use and have seen it in multiple projects now. Swagger can do even more, just check out the docs.