The React Social Blog (RSB)
Application is a diary app blog based on Semantic ui React for UI, Redux
with react-redux for managing states and React for managing DOM .It's an open source project as a portfolio.
##ON DEVELOPING
Now I'm developing this project with
semantic-ui-react
. It hasn't released the final version so there are some bugs that I have to face with.
I'm trying to keep packages updated
Install NodeJs
-
Installing all nodejs modules:
npm install
-
Rub webpack to build bundle file
webpack
-
Running server:
node server.js
-
Configure firebase:
- Get firebase config
- Create a folder in root folder
react-blog
set the nameconfig
=>>react-blog\config
- Create two files in
>react-blog\config
set their namedevelopment.env
andtest.env
=>>react-blog\config\development.env
and>react-blog\config\test.env
- Inside the files, you should write some keys of firebase configuration (each file is depend on the environment you work in
NODE_ENV
. If you setNODE_ENV=development
your project will use fromdevelopment.env
to config firebase but if you set itNODE_ENV=test
it will usetest.env
in test environment):
API_KEY=<API_KEY>
AUTH_DOMAIN=<PROJECT_ID>.firebaseapp.com
DATABASE_URL=https://<DATABASE_NAME>.firebaseio.com
PROJECT_ID=<PROJECT_ID>
STORAGE_BUCKET=.appspot.com
MESSAGING_SENDER_ID=<SENDER_ID>
- atom-beautify
- react
- If you're using Windows you should install all node-gyp dependencies with following commands:
$ npm install --global --production windows-build-tools
and then install the package
$ npm install --global node-gyp
- Amir Movahedi
This project is licensed under the MIT License - see the LICENSE file for details