jurkian / react-bank Goto Github PK
View Code? Open in Web Editor NEWBanking app built in React, Redux, TypeScript, Node, Strapi
License: MIT License
Banking app built in React, Redux, TypeScript, Node, Strapi
License: MIT License
ร
Unhandled Rejection (TypeError): (0 , _users.getUsersCount) is not a function
Home._callee$
src/containers/Home/index.js:34
31 | }
32 |
33 | async componentDidMount() {
34 | const usersCount = await getUsersCount();
35 |
36 | if (usersCount) {
37 | this.setState({
View compiled
โถ 28 stack frames were collapsed.
@jurkian I can not make request to this API. It is not available anymore
I get this output:
{"message":"Auth token not available or incorrect"}
I get the following error after running npm run start-dev
[email protected] start-dev /home/abdellah/Desktop/PROJECTS/react-bank/api
nodemon -r dotenv/config app.js
[nodemon] 1.19.4
[nodemon] to restart at any time, enter rs
[nodemon] watching dir(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node -r dotenv/config app.js
internal/modules/cjs/loader.js:797
throw err;
^
Error: Cannot find module '/home/abdellah/Desktop/PROJECTS/react-bank/api/config/config'
Require stack:
I have setup my .env file and ran npm start develop
.
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
How do I use react code that is not minified?
I have clone cloned the app and using it with my own firebase configurations. I also have added a new user into firebase auth and enabled firestore as well but when i tried to login and app gets stuck and keep loading to /panel.
Can you please point out what am i missing? I think there must be something in firestore missing. If you can share the schema of firestore as well
Please am trying to run the npm start
in the web folder after successfully loading the api folder for strapi but I keep geting this error
Failed to compile.
`/home/user/banks/react-bank/web/src/components/Auth/Login/index.tsx
TypeScript error in /home/user/banks/react-bank/web/src/components/Auth/Login/index.tsx(21,11):
Type '{ history: History; onLoginSubmit: (identifier: string, password: string) => void; }' is missing the following properties from type 'MyFormProps': identifier, password TS2739
19 | <Loader />
20 | ) : (
21 |
| ^
22 | )}
23 |
`
I don't have been stuck on this error for the past days now. Please any help will be really appreciated.
Thank you so much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.