Skip to content

ImaMos01/ticketing-nextjs

Repository files navigation

Ticketing with Nextjs, MongoDB and Docker

Simple web page made with Nextjs and MongoDB for reporting computational problems through tickets. Finally, Docker is used for containerization.

Features

  • Create ticket

  • Edit ticket

  • Show tickets

  • Delete ticket

Getting Started

Run Nextjs with MongoDB locally

To set up the Next.js app on your local machine:

  1. Go to the project directory and install the required dependencies:
npm install
  1. Create a .env.local file in the root directory and provide the next environment variable:
MONGODB_URI=mongodb://your-mongodb-uri
  1. Run the Next.js development server:
npm run dev
  1. Make sure you have a running MongoDB instance and obtain the connection URI.

Run Nextjs with MongoDB using docker

To deploy the application using Docker:

  1. Run the Docker image using the provided Docker compose:
docker compose-up -d

About

A simple example of nextjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published