Skip to content

A Content Management System made to be used by the projects of Research and Development.

License

Notifications You must be signed in to change notification settings

dlsu-lscs/lscs-cms-api

Repository files navigation

LSCS CMS API

TODOS

  • simple setup, project structure, prettier(done)/eslint(maybe)
  • create .env file for important env_vars like MONGO_URI
  • be able to connect to mongodb (via container rn)
  • dockerize for easy dev env and prod builds
  • create schemas
  • services/handlers
  • conrollers/routes
    • endpoint: /organizations -> CRUD
    • endpoint: /users -> CRUD
    • endpoint: /posts -> CRUD
  • auth and validation
    • basic email and password login
    • hash password with bcrypt before storing to database
    • ensure protected routes -> ex. users can only view their own org posts
    • ...

Start

Development

  • start via docker:
docker compose up -d
  • test connection via curl -> should return "HEALTHY"
curl http://localhost:3500/
  • stop when done
docker compose down

[WIP] Production

  • prod:
npm run start

About

A Content Management System made to be used by the projects of Research and Development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published