Coder Social home page Coder Social logo

474-final's Introduction

474 Final Mock Canvas

Auth Module (/auth)

Tech Stack:

  • Node.js
  • PostgreSQL

ENV Variables:

POSTGRES_URL: PG connection string

DB_NAME: Name of the PG DB, preferably auth

JWT_SECRET: A random string, must be kept consistent with JWT_SECRET at other services

PORT: Usually set by GCP

Initial DB Setup:

You will need to run yarn install and setup mikro-orm.config.ts with the correct db config. After that, run yarn mikro-orm migration:up

Course / Enrollment Modules (/course & /enrollment)

Tech Stack:

  • Node.js
  • GCP Datastore

ENV Variables:

DB_NAME: Name of the GCP DB, preferably course / enrollment

NODE_ENV: Set to production if prod

JWT_SECRET: A random string, must be kept consistent with JWT_SECRET at other services

PORT: Usually set by GCP

Initial DB Setup:

Not required, GCP will auto populate

Web

Tech Stack:

  • Node.js (Next.js)

ENV Variables:

NEXT_PUBLIC_AUTH_URL / NEXT_PUBLIC_COURSE_URL / NEXT_PUBLIC_ENROLLMENT_URL: API endpoints of the 3 microservices, these are required

NODE_ENV: Set to production if prod

PORT: Usually set by GCP

Note about build:

It is better to build on docker container on your local machine (with production env) and then push to your docker hub before deploying, since docker has some issues detecting build args

474-final's People

Contributors

hir1m avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.