The project idea was inspired by Twitter.
- About this Project
- How to run the app on your computer
- Future Features
- Project Structure
- Tools
- Application Pictures
Swirk is a social meadia project and its similar to Twitter. It is a place where people can share their opinion on many different topics and ideas. They have full access to all of the resources on the server and can use many functionalities related to posting content online.
- You can download the project ZIP file or you can clone the repository directly.
- Open the project with IDE/Code Editor.
- Open terminal with
Ctrl + J
. - Navigate to swirk folder with
cd swirk
. - Then navigate to
client
folder withcd client
. - Type
npm i
to install all modules that are listed onpackage.json
file and their dependencies. - Type
npm start
to run the project in the browser. It will start onhttp://localhost:3000
, but you can change it to another if necessary. Typey
to do it. - Do the steps 4, 5 and 6 with the server folder.
- Explore Swirk.
- Share your opinion and thoughts on Swirk.
-
Chat
- send message to user
-
Discussions
- start discussion
- invite users to discussion
-
Client
- api - for all of the project api requests
- assets - for project assets
- components - all of the components used in multiple places
- constants - all of the project constant variables
- contexts - all of the project contexts
- features - all of the project features (authentication, posts, genres and profile)
- hooks - all of the custom hooks
- layouts - for every partial code used by many components
- lib - for 3rd party libraries and their configuration files
- pages - for all of the application pages that does not store complicated logic
- services - for each application service and its requests
- utils - that contains functions used in multiple files
-
Server
- config - configuring the application
- constants - all of the project constant variables
- controllers - folder, where we can separate the route and the controller function
- models - stores database schemas
- routes - contains various application routes