This project was bootstrapped with Next.js, a React framework for production.
Before running this project, ensure you have the following installed on your local machine:
-
Clone this repository to your local machine:
git clone https://github.com/KunHnao/Mditor
-
Navigate to the project directory:
cd mditor
-
Install project dependencies using npm:
npm install
or using Yarn:
yarn install
If you wish to work with the createPage functionality, create an .env file at the root directory of the project with your postgresql url assigned to the variable DATABASE_URL
Once the dependencies are installed, you can start the development server:
npm run dev
or with Yarn:
yarn dev
This will start the development server at http://localhost:3000. Open this URL in your browser to view the project.