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

Initial codebase #19

Merged
merged 22 commits into from
Jan 14, 2025
Merged

Initial codebase #19

merged 22 commits into from
Jan 14, 2025

Conversation

brueningf
Copy link
Contributor

This pull request includes significant updates to both the backend and frontend of the project, including configuration, setup instructions, and initial code for the backend and frontend applications.

Backend Updates:

  • CI Configuration:

    • Added a GitHub Actions workflow for running backend tests on push and pull request events to the main and staging branches. (.github/workflows/backend-tests.yml)
  • Setup and Configuration:

    • Added a comprehensive README.md file with setup instructions for the backend, including prerequisites, environment setup, and development instructions. (backend/README.md)
    • Created an example environment file with database connection details. (backend/.env.example)
    • Configured Jest for testing with TypeScript support. (backend/jest.config.ts)
    • Added package.json with necessary dependencies and scripts for building, starting, and testing the backend. (backend/package.json)
  • Code Implementation:

    • Set up the Express server with basic routing and middleware, including CORS and JSON parsing. (backend/src/app.ts, backend/src/server.ts) [1] [2]
    • Configured Prisma ORM with a basic schema for User and Course models. (backend/prisma/schema.prisma)
    • Added a basic test to verify the API is working. (backend/tests/app.test.ts)

Frontend Updates:

  • Setup and Configuration:
    • Added a README.md file with instructions for starting the frontend development server. (frontend/README.md)
    • Configured Next.js with TypeScript and Tailwind CSS. (frontend/package.json, frontend/postcss.config.mjs, frontend/src/app/globals.css) [1] [2] [3]
    • Added .gitignore to exclude unnecessary files from version control. (frontend/.gitignore)

These changes establish the foundational setup for both the backend and frontend, enabling further development and testing.

Copy link

netlify bot commented Jan 14, 2025

Deploy Preview for a-brightpath canceled.

Name Link
🔨 Latest commit 68fef13
🔍 Latest deploy log https://app.netlify.com/sites/a-brightpath/deploys/6786e705fda59e0008253203

* fix: remove caching, add command to install before build

* update: ignore tests, config file, and dist folder
@brueningf brueningf merged commit b9c58d4 into main Jan 14, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants