Skip to content

Re-formatting data structures on the level of configuration files

License

Notifications You must be signed in to change notification settings

Devtailor/buerokratt-data-mapper

 
 

Repository files navigation

DataMapper

Testing handlebars and javascript functionality.

Docker

To run the application using docker run:

docker-compose up -d

Handlebars

Handlebars files go to views directory.

Example on how to access handlebars in browser:

http://localhost:3000/hbs/my/restful/url/myFile

Javascript

Javascript files go to js directory.

Example on how to access javascript files in browser:

http://localhost:3000/js/my/restful/url/myScript

Note! URL must not end with .js extension.

Local Development

To develop the DataMapper, it's recommended to have nvm installed, which will ensure you have the correct node and npm versions.

# Install the required node version
nvm install

# Switch to the required node version
nvm use

# Install node dependencies
npm install

# Run the API
npm start

About

Re-formatting data structures on the level of configuration files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.1%
  • Handlebars 1.3%
  • Dockerfile 0.6%