The start point to rock with ReactJS and NodeJS.
To install please follow these steps:
npm installover the root of the projectnpm run ux:initthis command will copy the files and structure in MSUXF to the folder ux for futher customizing- Copy
config/default.jsonfile and rename it to development.json. Set your configuration values.
Our seed uses MongoDB as database. To be able to connect to it we need a connection string URI. There are different formats in which we can indicate the targte URL. From all those format we are using the following:
mongodb://host:port
That is specified in the config/.json file, whitin the mongodb.host property. As an example, this is how your development.json file might look like:
{ "mongodb": { "host": "localhost:27017", ... }, "api":{ ... } }
npm start -s this will start the project doing all the tasks (lint, tests, etc, and also keeping the watchers active)
If this is the first time you are runnig the app, you could have some issues while whatching the app's files. The error will look like something like this:
Waiting...Fatal error: watch ENOSPC
If that s your case you might have to setup the amount of files the system can watch. For instance if you are a Linux user you can try this solution.
- Node
- Express
- React
- Redux
- Sass
- Mocha
- Expect
- Enzyme
- jsdom
- ECMA2015/ES6
- Webpack
- Bootstrap
- Toastr
We include a CLI tool that you can use to generate some useful stuff. Read the docs.