This project is my resume as a Single Page website.
You can use a distant database to complete your resume with a GraphQL query or set your resume in a TypeScript class.
The class will be used in case of failure while reaching the database. The internalization is configured with i18next. In additional with react-ga you can add Google Analytics to your website by setting your Google property in a .env
file.
Here are some snippets to help get started.
To put in a .env
file or in your repository Secrets.
Parameter | Description |
---|---|
REACT_APP_GRAPHQL_URL |
GraphQL url, if not set, the Typescript class will be used |
REACT_APP_UA_GOOGLE_PROPERTY |
Google Property to add Analytics, if not set Analytics are disabled |
SONAR_SECRET |
(Only for GitHub Action) SonarCloud secret to analyse your project |
This project was bootstrapped with Create React App. In the project directory, you can run:
npm start
: Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.npm test
: Launches the test runner in the interactive watch mode.npm run build
: Builds the app for production to thebuild
folder.npm run eject
: See npm run eject
You can learn more in the Create React App documentation.