All of these must be available in your $PATH
. To verify things are set up properly, you can run this:
node --version
npm --version
git --version
git clone git@github.com:rojasleon/react-node-blog.git
- Install dependencies
# cd blog-server
yarn install
# cd blog-client
yarn install
- Configure your database in mongodb.com
- Create a new file
dev.js
in/blog-server/config
- Copy the
MONGOURI
and paste it in.
// blog-server/config/dev.js
module.exports = {
MONGO_URI: 'YourmongoURL'
};
- Run projects
# blog-server
yarn run dev
# or
npm run dev
# blog-client
yarn start
# or
npm start
MIT