A Node.js API providing the backend for Lessons.church
- Create a MySQL database named
lessons
- Copy
dotenv.sample.txt
to.env
and edit it to point to your MySQL database. - Install the dependencies with:
npm install
- Create the database tables with
npm run initdb
- Start the api with
npm run dev
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
For uploaded files to show up when developing locally run mklink /D content ..\LessonsApp\public\content
to create a virtual link on Windows.