Challenge 01 - Configure Your Development Environment

< Previous Challenge - Home - Next Challenge >

Introduction

With a copy of the project obtained, it’s time to turn your attention to setting up your development environment. The shelter’s board is keen on ensuring developers are able to contribute to the project as seamlessly as possible, avoiding tedious setup. To meet this requirement, setting up the project on a developer’s box isn’t the best option. You will want to find a cloud based solution which allows for a centrally configured development environment.

Description

You will create a development environment which meets the needs listed above. You want to be able to begin writing code without having to install any resources locally on your machine.

During the development process, you will be creating various Azure resources and configuring your GitHub repository. As a result, you’ll need to have access to the Azure CLI and GitHub CLI.

The application uses an environment variable named MONBODB_URI to connect to the MongoDB database. When creating the cloud-based development environment, you will need to add this as an encrypted secret with the value mongodb://localhost.

Once the development environment is created, you will need to test the application by running the following commands:

npm install
npm run dev

Success Criteria

Learning Resources

Tips