Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.29 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.29 KB

CMS for MediaPartners AB

CMS System for creating and updating the content on each sites.

Built with: NextJS TS, MongoDB, MiniO for file storage (images). NodeJS.

Get started

  1. npm install
  2. cd server
  3. npm install

Running the client/server

  1. npm run dev

You will also need an .env file containing:

  • OPENAI_API_KEY="" // ChatGPT

  • PRODUCTION_DATABASE_URL=""

  • DEVELOPMENT_DATABASE_URL="http://localhost:8000"

  • BACKEND_API_KEY="" // This can be whatever you like, however needs to be on the actual website aswell you are trying to configure otherwize the website cannot make get requests to get data from CMS.

  • MongoDB Authentication

  • MONGODB_USER = ""

  • MONGODB_PASSWORD = ""

  • MONGODB_IP = ""

  • MONGODB_PORT = ""

  • MONGODB_DB = ""

  • Tokens

  • JWT_SECRET=""

  • BACKEND_API_KEY=""

  • MiniO - You need to setup a miniO server and get credentials

  • MINIO_ACCESS_KEY=""

  • MINIO_SECRET_KEY=""

  • MINIO_END_POINT=""

  • MINIO_PORT=""

  • MINIO_USE_SSL=""

Screenshots

image image image

Credits

Leutrim Bunjaku