An open API service indexing awesome lists of open source software.

https://github.com/codeville-org/learnville

LearnVille - By CodeVille is our official LMS platform that offers seamless learning experience for students.
https://github.com/codeville-org/learnville

Last synced: 3 months ago
JSON representation

LearnVille - By CodeVille is our official LMS platform that offers seamless learning experience for students.

Awesome Lists containing this project

README

          

# Payload Blank Template

This template comes configured with the bare minimum to get started on anything you need.

## Quick start

This template can be deployed directly from our Cloud hosting and it will setup MongoDB and cloud S3 object storage for media.

## Quick Start - local setup

To spin up this template locally, follow these steps:

### Clone

After you click the `Deploy` button above, you'll want to have standalone copy of this repo on your machine. If you've already cloned this repo, skip to [Development](#development).

### Development

1. First [clone the repo](#clone) if you have not done so already
2. `cd my-project && cp .env.example .env` to copy the example environment variables. You'll need to add the `MONGODB_URL` from your Cloud project to your `.env` if you want to use S3 storage and the MongoDB database that was created for you.

3. `pnpm install && pnpm dev` to install dependencies and start the dev server
4. open `http://localhost:3000` to open the app in your browser

That's it! Changes made in `./src` will be reflected in your app. Follow the on-screen instructions to login and create your first admin user. Then check out [Production](#production) once you're ready to build and serve your app, and [Deployment](#deployment) when you're ready to go live.

#### Docker (Optional)

If you prefer to use Docker for local development instead of a local MongoDB instance, the provided docker-compose.yml file can be used.

To do so, follow these steps:

- Modify the `MONGODB_URL` in your `.env` file to `mongodb://127.0.0.1/`
- Modify the `docker-compose.yml` file's `MONGODB_URL` to match the above ``
- Run `docker-compose up` to start the database, optionally pass `-d` to run in the background.

## How it works

The Payload config is tailored specifically to the needs of most websites. It is pre-configured in the following ways:

### Collections

See the [Collections](https://payloadcms.com/docs/configuration/collections) docs for details on how to extend this functionality.

- #### Users (Authentication)

Users are auth-enabled collections that have access to the admin panel.

For additional help, see the official [Auth Example](https://github.com/payloadcms/payload/tree/main/examples/auth) or the [Authentication](https://payloadcms.com/docs/authentication/overview#authentication-overview) docs.

- #### Media

This is the uploads enabled collection. It features pre-configured sizes, focal point and manual resizing to help you manage your pictures.

### Docker

Alternatively, you can use [Docker](https://www.docker.com) to spin up this template locally. To do so, follow these steps:

1. Follow [steps 1 and 2 from above](#development), the docker-compose file will automatically use the `.env` file in your project root
1. Next run `docker-compose up`
1. Follow [steps 4 and 5 from above](#development) to login and create your first admin user

That's it! The Docker instance will help you get up and running quickly while also standardizing the development environment across your teams.

## Questions

If you have any issues or questions, reach out to us on [Discord](https://discord.com/invite/payload) or start a [GitHub discussion](https://github.com/payloadcms/payload/discussions).

---

### Developer Notes

- Local build test - success (31st of January)

### Todo List

- Fix rich-text content rendering on Top Banner - Done
- About Section's CTA is showing even CTA Disabled - Done

- Add custom internal link type & Fix link mismatch issues
- Site Header -> Explore Menu Configuration -> "View All" Link - Done
- Top Categories Block -> CTA Link Type - Done
- Fix category item link to courses page - Done
- Fix CTA cards and buttons Link Type - Done
- Fix Site Footer Link Column Link Types - Done

- Minor Fixes
- dynamic blog page slug for post links - done
- Fix toast issue - done

- Course Showcasing
- Add youtube / bunny video feature for lesson videos - Done (bunny test pending)
- Prepare 1 - 3 (at least) courses for feature showcasing purposes - Done
- Develop courses listing page on landing page - up next
- Develop single course page in landing page with payment page - Up next

- Bugs noted
- pdf (etc.) files aren't uploading
- inconsistancy of relationship between lessons and chapters (_in production_) - Fixed
- generates duplicated copies of lessons, courses with same id when creating/updating from production / live site (_in production_) - Fixed