Giter VIP home page Giter VIP logo

alx-backend-javascript's Introduction

Backend JavaScript

Concepts

In this project, we will focus on the following concepts:

  • Modern JavaScript
  • Software Linter

Learning Objectives

By the end of this project, you should be able to explain the following topics without relying on external resources:

  • What is ES6 (ECMAScript 2015)
  • New features introduced in ES6
  • The difference between a constant and a variable
  • Block-scoped variables
  • Arrow functions and default function parameters
  • Rest and spread function parameters
  • String templating in ES6
  • Object creation and properties in ES6
  • Iterators and for-of loops

Requirements

General

  • All files will be executed on Ubuntu 18.04 LTS using NodeJS 12.11.x
  • Allowed editors: vi, vim, emacs, Visual Studio Code
  • All files should end with a new line
  • A README.md file, located at the root of the project folder, is mandatory
  • Your code should use the .js extension
  • Your code will be tested using the Jest Testing Framework
  • Your code will be analyzed using the ESLint linter with specific rules provided

Setup To set up your development environment, please follow these steps:

  1. Install NodeJS 12.11.x by running the following commands in your home directory:
curl -sL https://deb.nodesource.com/setup_12.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs -y
  1. Confirm that NodeJS and npm (Node Package Manager) are successfully installed:
$ nodejs -v
v12.11.1
$ npm -v
6.11.3
  1. Install the required dependencies for the project by running the following commands in your project directory:
npm install --save-dev jest
npm install --save-dev babel-jest @babel/core @babel/preset-env
npm install --save-dev eslint

Configuration Files

The project includes the following configuration files:

  • package.json: Contains the project dependencies and scripts.
  • babel.config.js: Configuration file for Babel.
  • .eslintrc.js: Configuration file for ESLint. Make sure to run npm install from the terminal in your project folder to install all the necessary project dependencies.

alx-backend-javascript's People

Contributors

ommienu 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.