Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrilink committed Feb 15, 2021
0 parents commit 435bb0b
Show file tree
Hide file tree
Showing 38 changed files with 20,891 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintcache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"/Users/rodrilink/Projects/express/api-provivi/src/index.js":"1","/Users/rodrilink/Projects/express/api-provivi/src/App.js":"2","/Users/rodrilink/Projects/express/api-provivi/src/components/Add.js":"3","/Users/rodrilink/Projects/express/api-provivi/src/components/ListItems.js":"4","/Users/rodrilink/Projects/express/api-provivi/src/components/Multiply.js":"5","/Users/rodrilink/Projects/express/api-provivi/src/components/SecondPower.js":"6"},{"size":207,"mtime":1613358877722,"results":"7","hashOfConfig":"8"},{"size":9682,"mtime":1613418570191,"results":"9","hashOfConfig":"8"},{"size":4515,"mtime":1613418742586,"results":"10","hashOfConfig":"8"},{"size":1272,"mtime":1613367334505,"results":"11","hashOfConfig":"8"},{"size":3931,"mtime":1613418742566,"results":"12","hashOfConfig":"8"},{"size":3970,"mtime":1613418742555,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},"t9q7bs",{"filePath":"17","messages":"18","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"19","messages":"20","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"21","messages":"22","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"16"},{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/rodrilink/Projects/express/api-provivi/src/index.js",[],[],"/Users/rodrilink/Projects/express/api-provivi/src/App.js",[],"/Users/rodrilink/Projects/express/api-provivi/src/components/Add.js",[],"/Users/rodrilink/Projects/express/api-provivi/src/components/ListItems.js",[],"/Users/rodrilink/Projects/express/api-provivi/src/components/Multiply.js",[],"/Users/rodrilink/Projects/express/api-provivi/src/components/SecondPower.js",[]]
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: npm start
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# restful-api-node-express-crud

provivi simple project

# How to start Project

npm install

npm run start

open browser and run below url

http://localhost:5000/

# Backend using ExpressJs

Server.js: This file that it's use it to handle all routes

# Database

A variable is used for now as dummy database

# Frontend using ReactJs

I created a production files inside /build
8 changes: 8 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "Start on Heroku: Node.js",
"description": "A barebones Node.js app using Express 4",
"repository": "https://github.com/heroku/node-js-getting-started",
"logo": "https://cdn.rawgit.com/heroku/node-js-getting-started/main/public/node.svg",
"keywords": ["node", "express", "heroku"],
"image": "heroku/nodejs"
}
17 changes: 17 additions & 0 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"files": {
"main.js": "/static/js/main.22e45768.chunk.js",
"main.js.map": "/static/js/main.22e45768.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.039a5995.js",
"runtime-main.js.map": "/static/js/runtime-main.039a5995.js.map",
"static/js/2.c383a658.chunk.js": "/static/js/2.c383a658.chunk.js",
"static/js/2.c383a658.chunk.js.map": "/static/js/2.c383a658.chunk.js.map",
"index.html": "/index.html",
"static/js/2.c383a658.chunk.js.LICENSE.txt": "/static/js/2.c383a658.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.039a5995.js",
"static/js/2.c383a658.chunk.js",
"static/js/main.22e45768.chunk.js"
]
}
Binary file added build/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,i,p=r[0],l=r[1],a=r[2],c=0,s=[];c<p.length;c++)i=p[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,p=1;p<t.length;p++){var l=t[p];0!==o[l]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/";var p=this["webpackJsonpprovivi-api"]=this["webpackJsonpprovivi-api"]||[],l=p.push.bind(p);p.push=r,p=p.slice();for(var a=0;a<p.length;a++)r(p[a]);var f=l;t()}([])</script><script src="/static/js/2.c383a658.chunk.js"></script><script src="/static/js/main.22e45768.chunk.js"></script></body></html>
Binary file added build/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions build/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
3 changes: 3 additions & 0 deletions build/static/js/2.c383a658.chunk.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions build/static/js/2.c383a658.chunk.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/**
* A better abstraction over CSS.
*
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
* @website https://github.com/cssinjs/jss
* @license MIT
*/

/** @license React v0.20.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.1
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions build/static/js/2.c383a658.chunk.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions build/static/js/main.22e45768.chunk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/static/js/main.22e45768.chunk.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 435bb0b

Please sign in to comment.