Skip to content

Commit

Permalink
1 create plain text dairy record (#3)
Browse files Browse the repository at this point in the history
* ignore github api http where I experiment with api

* upgrade testing library

* weird config

* correct readme

* weird component to create a record

* configure committer

* write some readme
  • Loading branch information
siavol authored Jun 29, 2024
1 parent 636eb1c commit ed66ed7
Show file tree
Hide file tree
Showing 10 changed files with 441 additions and 100 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# HTTP requests with test queries
github-api.http
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# MarkdDairy Web App
# MarkDairy Web App

The app allows you to write your diary and use your Github as storage for dairy records.

## Configuration

1. [Create a GitHub repository](https://github.com/new).
It is recommended to make it `private` unless you do not want everybody to read your records.
2. Create [fine-grained personal access tokens](https://github.com/settings/tokens?type=beta) with
`"Contents"` repository permissions (write).
3. Open the app and configure your repository and token.
171 changes: 74 additions & 97 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
"homepage": ".",
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/react": "^15.0.6",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^17.0.45",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"buffer": "^6.0.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
Expand Down
9 changes: 8 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import React from 'react';
import './App.css';
import ConfigGithub from './components/config/config-github';
import NewRecord from './components/record/new-record';


function App() {
return (
<div className="App">
Markdiary will be here.
<header>Markdairy</header>

<div>Markdiary will be here.</div>
<ConfigGithub></ConfigGithub>
<NewRecord></NewRecord>
</div>
);
}
Expand Down
Loading

0 comments on commit ed66ed7

Please sign in to comment.