Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructor-section added #28

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions api/.env-example
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
# This is the port the API will be available at
PORT=3001
PORT=

# Assuming that you started your MySQL container with the below command:
# docker run --name mysql -e MYSQL_ROOT_PASSWORD=mysql-root-password -e MYSQL_DATABASE=my-database -d -p 3306:3306 mysql:latest
DB_CLIENT=mysql2
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=mysql-root-password
DB_DATABASE_NAME=meal-sharing

# The database you use for local development most likely doesn't use SSL (encryption)
# but the one you deploy on Render.com does.
DB_USE_SSL=false
# This will create a connect to the MongoDB cluster
MONGO_URI=
3 changes: 2 additions & 1 deletion api/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.env
.env
.env-example
File renamed without changes.
Empty file added api/models/course-model.js
Empty file.
Empty file added api/models/errolment-model.js
Empty file.
Empty file added api/models/quiz-model.js
Empty file.
Empty file added api/models/user-models.js
Empty file.
Loading