Skip to content

elvish-ishaan/medrepo

Repository files navigation

CMS - 100xDevs

Open source repo for medrepo.com

Running Locally

  1. Clone the repository:
git clone https://github.com/elvish-ishaan/medrepo.git
  1. Navigate to the project directory:
cd medrepo
  1. (Optional) Start a PostgreSQL database using Docker:
docker run -d \

--name cms-db \

-e POSTGRES_USER=myuser  \

-e POSTGRES_PASSWORD=mypassword \

-e  POSTGRES_DB=mydatabase  \

-p 5432:5432 \

postgres

The connection URL for this setup will be:

DATABASE_URL=postgresql://myuser:mypassword@localhost:5432/mydatabase?schema=public
  1. Create a .env file:

    • Copy .env.example and rename it to .env.

    • Configure the DATABASE_URL with your PostgreSQL connection string.

  2. Install dependencies:

npm install
  1. Run database migrations:
npx prisma migrate
  1. Seed the database:
npm run seed
  1. Start the development server:
npm run dev

Usage

  1. Access the application in your browser:
http://localhost:3000
  1. Login using any of the following provided user credentials:
  • Email: testuser@example.com, Password: 123456

  • Email: testuser2@example.com, Password: 123456

Contributing

We welcome contributions from the community! There are many ways to contribute to the CMS. Code is just one possible means of contribution.

To contribute follow these steps:

  1. Fork the repository.

  2. Clone the fork to your local machine:

git clone https://github.com/<your username>/medrepo.git
cd medrepo
  1. Create a new branch
git checkout -b feature/navBar
  1. Make your changes and commit them
git commit -am 'Add some navBar'
  1. Push to the branch
git push origin feature/fooBar
  1. Go to the repository and make a Pull Request.

For major changes, please open an issue first to discuss what you would like to change.

Read our contribution guidelines for more details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published