initial commit
This commit is contained in:
18
doc/prompts/0.boilerplate.txt
Normal file
18
doc/prompts/0.boilerplate.txt
Normal file
@ -0,0 +1,18 @@
|
||||
Please generate simple project.
|
||||
This project is simple cms with admin console and frontpage.
|
||||
Please just generate boilerplate which support following lib and features first
|
||||
|
||||
- Tech stack
|
||||
-- NextJS14 - App Router
|
||||
-- TypeORM
|
||||
-- Tailwind css
|
||||
-- Docker Compose
|
||||
|
||||
- Database
|
||||
-- Support MySQL,Postgresql,Sqllite, use SQLite for testing and for development
|
||||
-- Table structure
|
||||
--- User ( id, username ,password, avatar, modifiedAt, createdAt)
|
||||
--- Posts ( id, parentId, userId, title, content, modifiedAt, createdAt )
|
||||
|
||||
- Git
|
||||
-- Work in dev branch so I can manually push to main when everything works
|
||||
2
doc/prompts/1.add user management.txt
Normal file
2
doc/prompts/1.add user management.txt
Normal file
@ -0,0 +1,2 @@
|
||||
Please add CRUD operation in admin console for User table.
|
||||
I want enable to upload photo for avatar.
|
||||
1
doc/prompts/2.add authentification.txt
Normal file
1
doc/prompts/2.add authentification.txt
Normal file
@ -0,0 +1 @@
|
||||
Please add authentification with username and password to login into the admin console.
|
||||
10
doc/prompts/3.avatar upload.txt
Normal file
10
doc/prompts/3.avatar upload.txt
Normal file
@ -0,0 +1,10 @@
|
||||
Please make following changes
|
||||
- Make feature branch - features/edit_profile
|
||||
- Add user icon in header to both frontend and backend
|
||||
- When user click the icon the menu opened.
|
||||
- Edit profile
|
||||
- logout
|
||||
- Users can edit their profile in Edit Profile screen.
|
||||
- Users can also upload their avatar in the screen.
|
||||
- Reuser component for both admin and in front
|
||||
- Commit, Push, send PR
|
||||
7
doc/prompts/4.add post management.txt
Normal file
7
doc/prompts/4.add post management.txt
Normal file
@ -0,0 +1,7 @@
|
||||
Please make following changes
|
||||
- Make feature branch - features/post_crud
|
||||
- Add CRUD operation to Post model in admin console
|
||||
- Use big textbox for content
|
||||
- Admins can select parent post to organize in tree structure
|
||||
- Change front page to show post in tree structure in sidebar
|
||||
- When user click post on sidebar move to detail page for the post
|
||||
4
doc/prompts/5.editorjs support.txt
Normal file
4
doc/prompts/5.editorjs support.txt
Normal file
@ -0,0 +1,4 @@
|
||||
Please make following changes
|
||||
- checkout to branch features/editorjs
|
||||
- Please change content editor for Post mode to editor.js
|
||||
- Change render logic for frontend to render editor.js content properly
|
||||
7
doc/prompts/6.dark modde support.txt
Normal file
7
doc/prompts/6.dark modde support.txt
Normal file
@ -0,0 +1,7 @@
|
||||
Please make following changes
|
||||
- Make feature branch features/darkmode
|
||||
- Add dark mode to tailwind theme
|
||||
- Change automatically dark mode or light mode based on browser or os settings.
|
||||
- User can select dark or light mode in profile edit
|
||||
- Settings are saved in database
|
||||
- Commit changes and push
|
||||
5
doc/prompts/7. upload image.txt
Normal file
5
doc/prompts/7. upload image.txt
Normal file
@ -0,0 +1,5 @@
|
||||
Please make following changes
|
||||
- generate feature branch features/imageupload from dev branch
|
||||
- I want add upload image feature to editor.js
|
||||
- Use @editorjs/image
|
||||
- Generate api to upload and show image
|
||||
Reference in New Issue
Block a user