Coder Social home page Coder Social logo

devops-cloud-sample-app's Introduction

DevOps-Cloud Sample App Project

JavaScript Language NodeJS Platform Jest Testing Framework NPM Package Manager REACT

A sample project (skeleton) to practice DevOps CI/CD pipelines.

Pre-requisites

This starter project uses JavaScript, Node.js and npm as a package manager.

If you do not have Node.js installed locally, please follow these instructions:

Installation

To use this starter project:

  • Click on the Use this template button
  • Fill out the details of your new project as below
  • Then click on Create repository from template

Create repository from template

Development

Once your new repository created, clone it locally, and install its dependencies:

  • replace ${your-username} with your GitHub username
  • replace ${repository-name} with the repository name you created above
git clone [email protected]:${your-username}/${repository-name}.git
cd ${repository-name}

For example, in my case the above commands would look like this:

git clone [email protected]:voa2000/devops-cloud-sample-app.git
cd devops-cloud-sample

Next steps

Once the setup completed:

npm -v && node -v
  • Verifies versions of npm and node installed. NodeJS installs NPM as its the package manager for installinf node packages for your application.

In the project directory, you can run:

npm install
  • Installs all npm packges required to run the application

npm start
  • Runs the app in the development mode.
    Open http://localhost:3000 to view it in your browser.

  • The page will reload when you make changes.\

  • You may also see any lint errors in the console.

npm test
  • Launches the test runner in the interactive watch mode.
    See the section about running tests for more information.

npm run build
  • Builds the app for production to the build folder.
    It correctly bundles React in production mode and optimizes the build for the best performance.

  • The build is minified and the filenames include the hashes.
    Your app is ready to be deployed!

  • See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

devops-cloud-sample-app's People

Contributors

fatimohkuforiji1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.