Devdemy is an online academy built for developers specifically. This project is built with nextjs technology.
In order to run and test the app you need to install the following packages/software.
- Node.js NPM : Download Node.js stable version and install on your machine.
- Download MongoDB Compass to install and track the MongoDB databases locally. Visit MongoDB official website for MSI package.
Please extract the downloaded zip file and open the devdemy
folder in VSCode or any other code editor.
Open terminal inside the directory and type following commands:
code . # To open the project folder in vscode
To install the dependencies, run the following command in the terminal.
npm install
To start the development server, run following command.
npm run dev
# or
yarn dev # If you're using yarn instead.
Open http://localhost:3000 with your browser to see the result.
The database used in the project is MongoDB Atlas which is a cloud MongoDB database.
You can find the Database URI in .env.local
file as an environment variable MONGODB_URI
.
By using this database URI, the database can be accessed via MongoDB compass or on the cloud.
In order to login to the app, you can use the following credentials.
Email : [email protected] Password: test123