https://github.com/alefesouza/frontend-challenge
Repository for the GetNinjas front-end challenge.
https://github.com/alefesouza/frontend-challenge
ecmascript2017 vanilla-js
Last synced: about 1 year ago
JSON representation
Repository for the GetNinjas front-end challenge.
- Host: GitHub
- URL: https://github.com/alefesouza/frontend-challenge
- Owner: alefesouza
- Created: 2018-07-20T05:44:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-22T21:59:14.000Z (about 8 years ago)
- Last Synced: 2025-07-07T17:34:14.328Z (about 1 year ago)
- Topics: ecmascript2017, vanilla-js
- Language: JavaScript
- Homepage:
- Size: 132 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# frontend-challenge
This is my resolution for the [GetNinjas frontend-challenge](https://github.com/getninjas/frontend-challenge), it gets data from a Node.js server and render the form fields on the DOM without any lib.
You can test it live [on this link](https://getninjas-frontend-challenge.herokuapp.com).
I really like the most recent EcmaScript features, so this project runs on the most recent browser versions (probably not Safari hahaha), but I left a Babel configuration on Gulp with task to minify the HTML, CSS and JS files to the dist/ folder, the resulting files will work on older browser too.
To start it just run:
```
npm install
node server.js
```
And open the public/index.html file or go to `http://localhost:3000` on a modern browser.
Or for older browser just run:
```
npm run build
```
To build JavaScript files, change the line 5 on the app.js file from _public_ to _dist_, run `node server.js` and open the generated dist/index.html or go to `http://localhost:3000` on a older browser.