Skip to content

Commit 6fbaa31

Browse files
Naman AnandNaman Anand
authored andcommitted
success.js merge fix
2 parents 2eec0ec + aa8332a commit 6fbaa31

23 files changed

Lines changed: 157 additions & 440 deletions

File tree

.DS_Store

-2 KB
Binary file not shown.

README.md

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,11 @@ AngularJS-powered HTML5 Markdown editor.
2121
- Drag and drop markdown and HTML files into Dillinger
2222
- Export documents as Markdown, HTML and PDF
2323

24-
## Use Cases
25-
26-
Loren Ipsum need to insert something here
27-
28-
| Endpoint | Details | Example |
29-
| ----------------------- | ----------------------------------------------- | ----------------------------------------------------------- |
30-
| /username | Displays the logged dates of the specified user | https://www.memorystack.tech/void |
31-
| /username/datetime/logs | Displays the logs of a specified date and user | https://memorystack.tech/void/2021-11-18T07:44:39.970Z/logs |
32-
| /signup | Your log in double quotes | https://memory-stack.herokuapp.com/signup |
33-
34-
Markdown is a lightweight markup language based on the formatting conventions
35-
that people naturally use in email.
36-
As [John Gruber] writes on the [Markdown site][df1]
37-
38-
> The overriding design goal for Markdown's
39-
> formatting syntax is to make it as readable
40-
> as possible. The idea is that a
41-
> Markdown-formatted document should be
42-
> publishable as-is, as plain text, without
43-
> looking like it's been marked up with tags
44-
> or formatting instructions.
45-
46-
This text you see here is \*actually- written in Markdown! To get a feel
47-
for Markdown's syntax, type some text into the left window and
48-
watch the results in the right.
49-
5024
## Installation
5125

5226
Memory Stack requires [Node.js](https://nodejs.org/) v10+ to run.
5327

54-
Visit [Memory Stack signup page](https://memorystack.tech/signup/) and create an account.
28+
Visit [Memory Stack signup page](https://memorystack.live/signup/) and create an account.
5529

5630
Install the mstak NPM package globally.
5731

@@ -85,6 +59,34 @@ Format : mstak <command> <input>
8559
| logs | none | Lists all the logs you've pushed today. | mstak logs |
8660
| setbio | Your desired bio | Changes your current bio to the desired bio. | mstak bio "A passionate developer from India, trying to make a difference!" |
8761

62+
## Use Cases
63+
64+
Loren Ipsum need to insert something here
65+
66+
| Endpoint | Details | Example |
67+
| ----------------------- | ----------------------------------------------- | ----------------------------------------------------------- |
68+
| /username | Displays the logged dates of the specified user | https://www.memorystack.live/void |
69+
| /username/datetime/logs | Displays the logs of a specified date and user | https://memorystack.tech/void/2021-11-18T07:44:39.970Z/logs |
70+
| /signup | Your log in double quotes | https://www.memorystack.live/signup |
71+
72+
Markdown is a lightweight markup language based on the formatting conventions
73+
that people naturally use in email.
74+
As [John Gruber] writes on the [Markdown site][df1]
75+
76+
> The overriding design goal for Markdown's
77+
> formatting syntax is to make it as readable
78+
> as possible. The idea is that a
79+
> Markdown-formatted document should be
80+
> publishable as-is, as plain text, without
81+
> looking like it's been marked up with tags
82+
> or formatting instructions.
83+
84+
This text you see here is \*actually- written in Markdown! To get a feel
85+
for Markdown's syntax, type some text into the left window and
86+
watch the results in the right.
87+
88+
89+
8890
## Tech
8991

9092
Memory Stack uses a number of open source projects to work properly:

html-css/homepage.html

Lines changed: 0 additions & 58 deletions
This file was deleted.

html-css/logView.html

Lines changed: 0 additions & 36 deletions
This file was deleted.

html-css/profile.html

Lines changed: 0 additions & 69 deletions
This file was deleted.

html-css/signup.html

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/App.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');
1+
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
22

33
:root {
44
--clr-primary: white;
@@ -28,7 +28,7 @@
2828
* {
2929
margin: 0px;
3030
/* background-color: var(--clr-bg); */
31-
font-family: 'Poppins';
31+
font-family: "Poppins";
3232
}
3333

3434
body {
@@ -275,7 +275,7 @@ input {
275275
}
276276
.shadow:before,
277277
.shadow:after {
278-
content: '';
278+
content: "";
279279
position: absolute;
280280
top: 0px;
281281
left: 0px;
@@ -288,7 +288,8 @@ input {
288288
}
289289

290290
/* WITH BORDER */
291-
/* .shadow:after {
291+
/* .shadow:before,
292+
.shadow:after {
292293
content: "";
293294
position: absolute;
294295
top: -1px;
Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
export const CLIENT_ID=process.env.REACT_APP_CLIENT_ID;
2-
export const RAZORPAY_KEY_ID_TEST=process.env.REACT_APP_RAZORPAY_KEY_ID_TEST;
3-
export const RAZORPAY_KEY_SECRET_TEST=process.env.REACT_APP_RAZORPAY_KEY_SECRET_TEST;
4-
export const RAZORPAY_KEY_ID=process.env.REACT_APP_RAZORPAY_KEY_ID;
5-
export const RAZORPAY_KEY_SECRET=process.env.REACT_APP_RAZORPAY_KEY_SECRET;
6-
1+
export const months = [
2+
"JANUARY",
3+
"FEBRUARY",
4+
"MARCH",
5+
"APRIL",
6+
"MAY",
7+
"JUNE",
8+
"JULY",
9+
"AUGUST",
10+
"SEPTEMBER",
11+
"OCTOBER",
12+
"NOVEMBER",
13+
"DECEMBER",
14+
];
15+
export const spinner = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
import axios from "axios";
2+
var URI = "https://api-memory-stack.herokuapp.com/api/";
23

3-
export async function postRequest(URI, params) {
4-
var response = await axios.post(
5-
`https://api-memory-stack.herokuapp.com/api/${URI}`,
6-
params
7-
);
4+
export async function postRequest(endpoint, params) {
5+
var response = await axios.post(`${URI}${endpoint}`, params);
86
return response.data;
97
}
108

11-
export async function postRequestLocal(URI, params) {
12-
var toReturn = await axios.post(URI, params);
13-
14-
return toReturn.data;
15-
}
16-
17-
export async function getRequest(URI) {
18-
const response = await axios.get(
19-
`https://api-memory-stack.herokuapp.com/api/${URI}`
20-
);
9+
export async function getRequest(endpoint) {
10+
const response = await axios.get(`${URI}${endpoint}`);
2111

2212
return response.data;
2313
}
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
export const SOCKET_ALL_LOGS = "recentLogs";
2+
export const SOCKET_LATEST_LOG = "newLog";
3+
export const SIGNUP_IF_USER_EXISTS = "userExists";
14
export const SIGNUP = "signup";
2-
export const GRANT_PERMISSION = "permission";
3-
export const SEND_TOKEN = "gettoken";
4-
export const GET_ORDER_ID = "order-id";
5+
export const GET_DAY_LOG = "logView";

0 commit comments

Comments
 (0)