-
ENV : API
-
Git : Push /strapi-lms to github
-
User enrolled
- fetch user
- loop through user enrolled
- fetch each courrse and insert into global variable
- thehn render that variable in web
-
UI : Centre
- Hero Page
DATABASE_URL=mongodb+srv://username:password@cluster0.abcd.mongodb.net/DBNAME
# NUXT_API_SECRET=api_secret_token
# microsoft@gmail.com / piyush@gmail.com > Piyush9898
NUXT_PUBLIC_API_BASE=http://127.0.0.1:1337/api
STRAPI_URL=http://127.0.0.1:1337-
/student
-
/teacher
- /enrolled/course/users :
- LMS : node version 16
- strapi : node verion : 14
- Auth : Regsiter & Login
Dashboard : https://www.tailwind-kit.com/components/data
- https://app-tailwind.preview.uideck.com/ icon : https://www.flaticon.com/free-icon/cat_6148636?term=cat&page=12&position=40&origin=search&related_id=6148636
- https://icon-sets.iconify.design/basil/flask-outline/
- https://icon-sets.iconify.design/icon-park-solid/boy-one/
- https://icon-sets.iconify.design/gg/boy/
- https://css.gg/airplane
- Web(website)
- home
- blog
- team
- about
- Admin(strapi cms)
- profile
- courses
- enrolled
- shop
- Profile(login)
- Courses
- User
- Dashb
- CMS Setup & Model
- database
- git
- Render md
- Fetch() : /blogs , /blogs/:id , /blogs/?category=...
echo '{"username":"piyush","email":"piyush@gmail.com","password":"piyush"}' | http http://localhost:1337/api/auth/local/register
echo '{"identifier":"piyush@gmail.com","password":"piyush"}' | http POST ':1337/api/auth/local'
# {
# "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNjc5MjQ4NTQwLCJleHAiOjE2ODE4NDA1NDB9.OpskD6Xy6hwS58aJpAVZAldovmZRc8usIBXUnx0w1NY",
# "user": {
# "email": "piyush@gmail.com",
# "id": 1,
# "provider": "local",
# "username": "piyush"
# }
# }
http -A bearer -a 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNjc5MjQ4NTQwLCJleHAiOjE2ODE4NDA1NDB9.OpskD6Xy6hwS58aJpAVZAldovmZRc8usIBXUnx0w1NY' :1337/api/courses
# data ...- structure
/
- component : nav , hero , footer