This project was bootstrapped with Create React App.
Below you will find some information on how to perform common tasks.
You can find the most recent version of this guide here.
The purpose of this project is that a user can see and edit her or his information for edunext account. The user can see the followings fields:
- Type subscription
- Creation date of the account
- Last payment
- Profile Image
The user can edit the following fields:
- Time Zone
- Language
- Theme name
- Features list
- Welcome Message
The theme and the language are settled according with the user data, when the user change and save the information then language and theme will change. You can save information click on save button.
Tasks related with the app were created in a Trello board, you can see them in the following link: https://trello.com/b/7AwTL1qP/user-profile
Future features:
- Use redux to manage app state
- User authentication
- Profile visualization
- Home and ContactUs implementation
This projects use the following technologies and libraries:
- ReactJs
- ReactIntl
- React Router
- React Autosuggest
- React Bootstrap Toggle
- React froala wysiwyg
- Webpack
- Node
- Axios
- Sass
- Bootstrap
- Clone the repository
- Locate in the project root folder
- Locate in the services folder
cd services
- Install packages
npm install
- Run mock services
node index.js
, server is run inhttp://localhost:8010
- Locate in the project root folder
cd ..
- Install packages
npm install
- Run User-profile app
npm start
By default the user loaded is with the key: a237ed14-88fb-45f3-b9b1-471877dbdc60
To change the user you need to define a element in the browser session storage with the following id: idUser
you can define the following values for this key:
a237ed14-88fb-45f3-b9b1-471877dbdc60
49a6307e-c261-414d-86f5-c6004bcec8ab
1b2f7b83-7b4d-441d-a210-afaa970e5b76
Those are the components in the app like form fields and basic components to apply the routing (Home, ContactUs).
Those components represent the elements that have logic to handle with other components or containers
Those are the styles to define and customize themes applied for all app components.
This folder contains helpers for the components