Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
8d398d8
Add react-router-dom dependency to the package
andydevlabs Aug 10, 2023
3ccdbcc
Initialize all components
andydevlabs Aug 10, 2023
bf0b954
Revert "Initialize all components"
andydevlabs Aug 10, 2023
28175c9
Init the basic components
andydevlabs Aug 10, 2023
d43df22
Add Home page components
andydevlabs Aug 10, 2023
a25efd1
Add routes to homePage in App.jsx
andydevlabs Aug 10, 2023
d67f5b6
Add MUI library to the packages
andydevlabs Aug 10, 2023
4b36e75
Add Post and New Post components
andydevlabs Aug 11, 2023
785279a
Add mui icon in packages
andydevlabs Aug 11, 2023
25b1a2e
Add CSS files for reference
andydevlabs Aug 11, 2023
40f9b71
feat change design layout of the components
andydevlabs Aug 11, 2023
d389bcc
fix : "followed name conventions"
MiiJack Aug 11, 2023
594fb0d
Add FontAwesome package and NewPostField with its style
andydevlabs Aug 11, 2023
5041e21
Add button to close the statut field
andydevlabs Aug 11, 2023
603c164
fix new Statut Field button color
andydevlabs Aug 11, 2023
a5b3061
Merge remote-tracking branch 'origin/main' into MiiJack
MiiJack Aug 12, 2023
ea956fa
feat : "Added auth Placeholder"
MiiJack Aug 12, 2023
6c80bd3
refactor the code and fixing some styles
HarenaFiantso Aug 12, 2023
dcf8bc1
feat: Initialize the readme file for the project
HarenaFiantso Aug 12, 2023
39b696e
style: Implement my own style/CSS library of the project
HarenaFiantso Aug 12, 2023
fd59c2b
style: Implement my own style/CSS library of the project #2
HarenaFiantso Aug 12, 2023
9a9cc87
Merge branch 'MiiJack' into MiiJack
andydevlabs Aug 12, 2023
8acaa98
Merge pull request #1 from HarenaFiantso/MiiJack
andydevlabs Aug 12, 2023
82bc593
style: Initialize the root css variables
HarenaFiantso Aug 13, 2023
417b44e
refactor: Refactoring the index.css file
HarenaFiantso Aug 13, 2023
f5d1f99
style: Fix the style of the homeContainer
HarenaFiantso Aug 13, 2023
d087a7b
chore: Finish the main implementation of the navbar component
HarenaFiantso Aug 13, 2023
a774996
fix: Trying to implement the Navigation bar using MUI
HarenaFiantso Aug 14, 2023
99cb92e
style: Styling the navbar component
HarenaFiantso Aug 14, 2023
16f5100
style: Change the font family to poppins
HarenaFiantso Aug 14, 2023
b1017e1
style: Change the main style of the home page
HarenaFiantso Aug 14, 2023
ed3a84f
style: Change the main disposition of the home page
HarenaFiantso Aug 14, 2023
13e874b
fix: Fixing some bugs in the new post component
HarenaFiantso Aug 14, 2023
c39ed26
style: Fixing some color
HarenaFiantso Aug 14, 2023
a3f6939
fix: Fix the home page
HarenaFiantso Aug 16, 2023
7ca37bd
Merge pull request #2 from HarenaFiantso/HarenaFiantso
HarenaFiantso Aug 16, 2023
0244c43
style: Make some changes in the home.css file
HarenaFiantso Aug 16, 2023
008d244
feat: add new branch 'dev'
andydevlabs Aug 16, 2023
94771e0
feat: add new branch 'andyDevMdg'
andydevlabs Aug 16, 2023
b24a144
fix: Reinitilize the main project
HarenaFiantso Aug 16, 2023
c6a4d2a
fix: Reinitilize the main project #2
HarenaFiantso Aug 16, 2023
9ed19d7
style: Change the main background to light
HarenaFiantso Aug 16, 2023
764a4cf
chore: Implement the main implementation of all components and pages
HarenaFiantso Aug 16, 2023
a83013a
delete: Delete the jsconfig file
HarenaFiantso Aug 16, 2023
decfc62
fix: Fix the route
HarenaFiantso Aug 16, 2023
7e652dc
chore: Comment all function of the state management javascript file u…
HarenaFiantso Aug 16, 2023
3517a6f
feat: Render App component within PersistGate
HarenaFiantso Aug 16, 2023
913916a
feat: Change the main configuration of the theme of the MUI
HarenaFiantso Aug 16, 2023
b5697dd
fix: Import the redux store the main application component
HarenaFiantso Aug 16, 2023
97d441e
feat: initialize the MUI drawer as a rightbar
andydevlabs Aug 16, 2023
601e500
Merge branch 'main' into HarenaFiantso
HarenaFiantso Aug 16, 2023
55df8c7
fix: Fixing some bugs and refactor the code
HarenaFiantso Aug 16, 2023
f9a4192
Merge pull request #3 from HarenaFiantso/HarenaFiantso
andydevlabs Aug 16, 2023
d50781f
feat: change rightbar component into a Stack of followed users
andydevlabs Aug 17, 2023
7b508b5
style: make the rightbarContainer sticky
andydevlabs Aug 17, 2023
23849f2
style: make the rightbarContainer sticky
andydevlabs Aug 17, 2023
656f76b
feat: add 'Contacts' title for leftbar component
andydevlabs Aug 18, 2023
10cc116
style: change padding of contacts items
andydevlabs Aug 18, 2023
0e7568e
feat: add 'Suggestions' into the leftbar component
andydevlabs Aug 18, 2023
82d6973
Merge remote-tracking branch 'origin/andyDevMdg' into MiiJack
MiiJack Aug 19, 2023
e578e60
chore : Merged with andyMdg's branch
MiiJack Aug 19, 2023
ccf08bd
feat: merge andyDevMdg to dev
andydevlabs Aug 19, 2023
c091e63
feat: change 'homePage' directory name to 'home'
andydevlabs Aug 19, 2023
4ecf443
feat: merge 'andyDevMdg'/home to 'dev'/home
andydevlabs Aug 19, 2023
01a825b
feat: merge branch 'dev' into 'andyDevMdg'
andydevlabs Aug 19, 2023
1043349
style: add max-width to rightbarContainer
andydevlabs Aug 19, 2023
56d1912
style: add dark mode/light mode to the components
andydevlabs Aug 19, 2023
34c6e0e
fix: Initializing again the project by using an another approach
HarenaFiantso Aug 24, 2023
c71ecb4
feat: Implement the leftbar component
HarenaFiantso Aug 24, 2023
72634d6
chore: Added some styles and make some changes for the leftbar component
HarenaFiantso Aug 24, 2023
7cb2a07
chore: Remove some useless part of the leftbar component
HarenaFiantso Aug 24, 2023
3a421f6
feat: Create a new component share
HarenaFiantso Aug 24, 2023
f4e84d0
feat: Add the share component to feed component
HarenaFiantso Aug 24, 2023
f5fc4ea
chore: Implement the main structure of the share component
HarenaFiantso Aug 24, 2023
d58c88d
style: Style the share top divider
HarenaFiantso Aug 24, 2023
c46f45c
style: Finish to style of the the share component
HarenaFiantso Aug 24, 2023
b06f78f
feat: Create a new component post
HarenaFiantso Aug 24, 2023
ca9128e
fix: Finish the implementation of the feed component
HarenaFiantso Aug 24, 2023
6ff6e0f
feat: Create a new rightbar component
HarenaFiantso Aug 25, 2023
ad8081e
feat: Create a new js file to store some fake data
HarenaFiantso Aug 25, 2023
eb4bd8f
feat: Create a new online component
HarenaFiantso Aug 25, 2023
45bd7ca
style: Style the rightbar componenté
HarenaFiantso Aug 25, 2023
285603f
chore: Make some change for all components that need to be change
HarenaFiantso Aug 25, 2023
59b5dc9
fix: Fix the online component
HarenaFiantso Aug 25, 2023
84fe099
fix: Fix the feed component
HarenaFiantso Aug 25, 2023
a77c69b
style: Make some change for the styling of the leftbar component'
HarenaFiantso Aug 25, 2023
0d51d75
style: Make some change for the styling of the leftbar component #2
HarenaFiantso Aug 25, 2023
4bcebe7
style: Make some change for the styling of the leftbar component #3
HarenaFiantso Aug 25, 2023
45220b6
fix: Make the feed dynamic
HarenaFiantso Aug 25, 2023
f895fcb
style: Make some style for the leftbar component
HarenaFiantso Aug 25, 2023
4ddd32b
fix: Fix like system
HarenaFiantso Aug 25, 2023
70f4b85
feat: Add some changes
HarenaFiantso Aug 26, 2023
5e803e5
feat : Added fetchers
MiiJack Aug 29, 2023
9c8d662
refactor : Added appropriate routing
MiiJack Aug 29, 2023
cb3642e
Merge remote-tracking branch 'forked/andyDevMdg' into HarenaFiantso
MiiJack Aug 29, 2023
d025f03
feat: merge all commits from HarenaFiantso/Facebak repo to andyDevMdg
andydevlabs Aug 29, 2023
bb92df5
feat: merge branch 'HarenaFiantso' into dev
andydevlabs Aug 29, 2023
d6b771a
feat: merge 'MiiJack' to 'dev'
andydevlabs Aug 29, 2023
3188ad5
fix: change Route component to element
andydevlabs Aug 29, 2023
0d90930
feat: add editProfil component
andydevlabs Aug 29, 2023
02a3b2c
feat: add edit username and bio static functionnality
andydevlabs Aug 29, 2023
3071a6d
feat: make the edited information visible into the profile page
andydevlabs Aug 29, 2023
bbb4c25
Feat : Added token storage to the fetchers
MiiJack Aug 30, 2023
9cbf706
Feat : Added basic in-routing
MiiJack Aug 30, 2023
eb65927
Chore : Cleanup
MiiJack Aug 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"tabWidth": 2,
"printWidth": 100,
"endOfLine": "lf",
"trailingComma": "es5",
"semi": true,
"quoteProps": "consistent",
"bracketSpacing": false
}
91 changes: 33 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,45 @@
# Getting Started with Create React App
# Facebak - Social Media Application
## Project Description

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Facebak is a social media application that allows users to create and share content, as well as participate in social networking. This project aims to provide hands-on experience in building a full-stack web application using technologies like React, React Router, Fetch API, and Axios.

## Available Scripts
## Installation

In the project directory, you can run:
1. Clone the frontend from [GitHub repository](https://github.com/Sitraka003/facebak).
2. Clone the backend from [GitHub repository](https://github.com/YumeT023/facebak-api#readme).
3. Follow the specific installation instructions for both frontend and backend repositories to set up.

### `npm start`
## Usage

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
1. Run the backend in development mode with BDD.
2. Run the frontend locally using the `npm start` command.

The page will reload when you make changes.\
You may also see any lint errors in the console.
## Routes and Features

### `npm test`
- `/sign-up`: Sign-up page with fields for email, password, confirm password, and username.
- `/login`: Login page for existing users.
- `/posts`:
- `/`: Newsfeed page with the ability to create and update posts.
- `/:post_id`: Page for a specific post with the ability to comment and like the post.
- `/profile`:
- `/`: Profile page of the connected user with the ability to view and edit profile information.

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
## To-Do

### `npm run build`
- Run the backend in development mode with BDD.
- Clone the frontend repository.
- Design the newsfeed using frameworks like Bootstrap 5, Tailwind, Bulma, MUI, Chakra UI, or plain CSS.
- Install Postman for API testing.
- Learn about Promises in JavaScript for handling asynchronous operations.
- Understand JWT for authentication purposes.
- Explore Axios and Fetch HTTP clients for making API calls.
- Dive deeper into React hooks like useState, useEffect, and useRef.

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
## Recommended Learning

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
- Check out the React resources mentioned in the Resources section.
- Learn about Promises in JavaScript by following the tutorial on [JavaScript.info](https://javascript.info/async).
- Familiarize yourself with JSON Web Tokens (JWT) on [jwt.io](https://jwt.io/introduction).
- Explore Axios and Fetch HTTP clients for interacting with APIs.
- Follow the [React Hooks](https://react.dev/reference/react) tutorial to understand the usage of basic hooks.

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
Loading