Skip to content

idnzozkan/react-slack-clone

Repository files navigation

Slack Clone

Slack-like web application built with React.js.

Other used technologies are: Firebase (Authentication, Firestore Database, Hosting), styled-components, React Spinners, Redux Toolkit

🔗 Demo Link

Installation

Before running the application, you need to set the required environment variables. In order to do that, you can use the provided example env file.

Get to the root directory of the project and rename the existing file named .env.example to .env.local first. After that, open up the file and fill it in like the following.

REACT_APP_FIREBASE_API_KEY=API_KEY
REACT_APP_FIREBASE_AUTH_DOMAIN=PROJECT_ID.firebaseapp.com
REACT_APP_FIREBASE_PROJECT_ID=PROJECT_ID
REACT_APP_FIREBASE_STORAGE_BUCKET=PROJECT_ID.appspot.com
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=SENDER_ID
REACT_APP_FIREBASE_APP_ID=APP_ID

In order to get your own Firebase information, you need to initialize a Firebase Web App project first. After creating a new Firebase Web App project, you will be able to get the config object. See the documentation to learn more.

Running Locally

1 - Install dependencies via npm

$ npm install

2 - Run the application by using the following command

$ npm start

After that, you should be able to display the app on http://localhost:3000 in your browser.

License

MIT License

Copyright (c) 2022 Deniz Ozkan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.