Skip to content

Netlify should automatically deploy React applications #1

@ProchaLu

Description

@ProchaLu

Is your proposal related to a problem?

Currently, Netlify requires additional steps to deploy a React application. When using Netlify, the deployment settings are empty, and students have to enter the build command and publish directory manually. This can be confusing and time-consuming for students who are unfamiliar with the deployment process.

Previously, Netlify used the default commands, so there were no additional steps required to deploy a React project. This made it easier to get started with deploying their React applications.

The Netlify docs does not specify the default build command, but the default base directory is the root directory /.

Screenshot 2023-09-11 at 16 03 33

Describe the solution you'd like

Netlify should automatically deploy React applications without manually writing the build command and publish directory. This would make it easier for students to deploy their React projects to Netlify.
Screenshot 2023-09-12 at 14 56 29

Alternative solutions

Option 1: Create additional steps on the Learning Platform for the deployment of a React app on Netlify. This would involve adding new instructions and tutorials to the Learning Platform that explain how to deploy React apps to Netlify.

Option 2: Automatically add a netlify.toml file to the React app with the build command and publish command when initializing the project with pnpm create @upleveled/react-app@latest .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions