File tree Expand file tree Collapse file tree 5 files changed +109
-0
lines changed Expand file tree Collapse file tree 5 files changed +109
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [[" env" , {"exclude" : [" transform-regenerator" ]}]]
3
+ }
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ env : {
3
+ browser : false ,
4
+ es6 : true ,
5
+ jest : true ,
6
+ } ,
7
+ extends : [
8
+ 'airbnb-base' ,
9
+ 'plugin:jest/all' ,
10
+ ] ,
11
+ globals : {
12
+ Atomics : 'readonly' ,
13
+ SharedArrayBuffer : 'readonly' ,
14
+ } ,
15
+ parserOptions : {
16
+ ecmaVersion : 2018 ,
17
+ sourceType : 'module' ,
18
+ } ,
19
+ plugins : [ 'jest' ] ,
20
+ rules : {
21
+ 'max-classes-per-file' : 'off' ,
22
+ 'no-underscore-dangle' : 'off' ,
23
+ 'no-console' : 'off' ,
24
+ 'no-shadow' : 'off' ,
25
+ 'no-restricted-syntax' : [
26
+ 'error' ,
27
+ 'LabeledStatement' ,
28
+ 'WithStatement' ,
29
+ ] ,
30
+ } ,
31
+ overrides :[
32
+ {
33
+ files : [ '*.js' ] ,
34
+ excludedFiles : 'babel.config.js' ,
35
+ }
36
+ ]
37
+ } ;
Original file line number Diff line number Diff line change
1
+ ## Learning Objectives
2
+
3
+ - run javascript using NodeJS
4
+ - use NodeJS modules
5
+ - use specific Node JS module to read files
6
+ - use process to access command line arguments and the environment
7
+ - create a small HTTP server using Node JS
8
+ - create a small HTTP server using Express JS
9
+ - create advanced routes with Express JS
10
+ - use ES6 with Node JS with Babel-node
11
+ - use Nodemon to develop faster
Original file line number Diff line number Diff line change
1
+ firstname,lastname,age,field
2
+ Johann,Kerbrou,30,CS
3
+ Guillaume,Salou,30,SWE
4
+ Arielle,Salou,20,CS
5
+ Jonathan,Benou,30,CS
6
+ Emmanuel,Turlou,40,CS
7
+ Guillaume,Plessous,35,CS
8
+ Joseph,Crisou,34,SWE
9
+ Paul,Schneider,60,SWE
10
+ Tommy,Schoul,32,SWE
11
+ Katie,Shirou,21,CS
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " node_js_basics" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " A simple project for learning the basics of Node.js for server-side apps." ,
5
+ "main" : " index.js" ,
6
+ "author" : " Bezaleel Olakunori <bezaleeloci@gmail.com>" ,
7
+ "private" : true ,
8
+ "license" : " MIT" ,
9
+ "scripts" : {
10
+ "lint" : " ./node_modules/.bin/eslint" ,
11
+ "check-lint" : " lint [0-9]*.js" ,
12
+ "lint-all" : " ./node_modules/.bin/eslint [0-9]*.js" ,
13
+ "lint-fix-all" : " ./node_modules/.bin/eslint --fix [0-9]*.js" ,
14
+ "test" : " ./node_modules/mocha/bin/mocha --require babel-register --exit" ,
15
+ "dev" : " nodemon --exec babel-node --presets babel-preset-env ./full_server/server.js ./database.csv"
16
+ },
17
+ "dependencies" : {
18
+ "chai-http" : " ^4.3.0" ,
19
+ "express" : " ^4.17.1"
20
+ },
21
+ "devDependencies" : {
22
+ "babel-cli" : " ^6.26.0" ,
23
+ "babel-preset-env" : " ^1.7.0" ,
24
+ "nodemon" : " ^2.0.2" ,
25
+ "eslint" : " ^6.4.0" ,
26
+ "eslint-config-airbnb-base" : " ^14.0.0" ,
27
+ "eslint-plugin-import" : " ^2.18.2" ,
28
+ "eslint-plugin-jest" : " ^22.17.0" ,
29
+ "chai" : " ^4.2.0" ,
30
+ "mocha" : " ^6.2.2" ,
31
+ "request" : " ^2.88.0" ,
32
+ "sinon" : " ^7.5.0"
33
+ },
34
+ "repository" : {
35
+ "type" : " git" ,
36
+ "url" : " https://github.com/B3zaleel/alx-backend-javascript"
37
+ },
38
+ "bugs" : {
39
+ "url" : " https://github.com/B3zaleel/alx-backend-javascript/tree/main/0x05-Node_JS_basic"
40
+ },
41
+ "homepage" : " https://github.com/B3zaleel/alx-backend-javascript/blob/main/0x05-Node_JS_basic/README.md" ,
42
+ "engines" : {
43
+ "node" : " 16.x" ,
44
+ "npm" : " 8.x" ,
45
+ "yarn" : " 1.x"
46
+ }
47
+ }
You can’t perform that action at this time.
0 commit comments